IDriverStateMachine.SendRequest (METH)ΒΆ
METHOD SendRequest : SysTypes.RTS_IEC_RESULT
Using this method a request should be sent by the driver.
- InOut:
Scope
Name
Type
Comment
Return
SendRequest
SysTypes.RTS_IEC_RESULT
An error code representing the result of the polling operation. In case the operation is not yet finished, ERR_PENDING should be returned. This will then cause followup calls to IDriverStateMachine.PollRequestResult. In case the operation finished synchronously, ERR_OK should be returned. When sending a request failed, an error code should be returned and then the whole connection will be set up again.
Input
request
The request object representing the information that should be sent to the connected device.