|
- Parameters:
-
[in] | ulPort | Selected digital I/O port (0 to MX370x__ExtDigitalIOGetNumberOfPorts -1)
Have a look on the documentation of MX370x__ExtDigitalIOGetNumberOfPorts for the description of a port. |
[in] | ulOption1 | Reserved. Set to 0 |
[out] | Response |
sResponse.iReturnValue
- 0: Means the remote function performed OK
- -1: Means an system error occurred
- -2: Port selection wrong
- -100: Internal system error occurred. See value of syserrno
sResponse.syserrno system-error code (the value of the libc "errno" code)
ulValue Digital directions selection. Each bit indicates the direction for one channel.
- D0 : 0: Digital I/O 0 of selected port used as input. 1: Digital I/O 0 of selected port used as output
- ...
- D31 : 0: Digital I/O 31 of selected port used as input. 1: Digital I/O 31 of selected port used as output
|
- Return values:
-
| 0 | SOAP_OK |
| Others | See SOAP error |
|