|
Set the selected digital output channel to on or off.
- Parameters:
-
[in] | ulChannel | Selected digital I/O channel (0 to MSXExxxx__DigitalIOGetNumberOfChannels) |
[in] | ulState | Digital I/O channel state
- 0: Set the digital I/O output channel to low
- 1: Set the digital I/O output channel to high
|
[in] | ulOption1 | Reserved. Set to 0 |
[out] | Response |
iReturnValue
- 0: The remote function performed OK
- -1: System error occurred
- -2: The ulChannel parameter is wrong
- -3: The ulState parameter is wrong
- -4: The selected digital I/O is not an output
- -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 |
|