|
Write the current digital I/O direction for the selected port.
- Parameters:
-
[in] | ulPort | Selected digital I/O port (0 to MSXExxxx__DigitalIOGetNumberOfPorts)
Please read the documentation of the MSXExxxx__DigitalIOGetNumberOfPorts for the description of a port. |
[in] | ulDirection | Digital I/O direction. Each bit indicates if the channel is used as an input or an output. Example:
- 1: I/O 0 of the selected port is configured as output, all the other I/Os of the selected port are configured as input
- 3: I/Os 0 and 1 of the selected port are configured as output, all the other I/Os of the selected port are configured as input
|
[in] | ulOption1 | Reserved. Set to 0 |
[out] | Response |
iReturnValue
- 0: The remote function performed OK
- -1: System error occurred
- -2: The ulPort parameter is wrong
- -3: The ulDirection parameter is wrong
- -100: Internal system error occurred. See value of syserrno
syserrno system error code (the value of the libc "errno" code)
|
- Return values:
-
| 0 | SOAP_OK |
| Others | See SOAP error |
|