int MX370x__ExtDigitalIOWriteChannel ( xsd__unsignedLong  ulChannel,
xsd__unsignedLong  ulState,
xsd__unsignedLong  ulOption1,
struct MX370x__Response Response 
)
Parameters:
[in] ulChannel Selected digital I/O channel (0 to MX370x__ExtDigitalIOGetNumberOfChannels - 1)
[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: Means the remote function performed OK
  • -1: Means an system error occurred
  • -2: Channel selection wrong or selected channel is an input
  • -3: State selection wrong
  • -4: Error when setting digital 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