int MSXExxxx__AnalogOutputGetChannelValue ( xsd__unsignedLong  ulChannel,
xsd__unsignedLong  ulOption1,
struct MSXExxxx__unsignedLongResponse Response 
)
Parameters:
[in] ulChannel index of the channel (0 to MSXExxxx__AnalogOutputGetNumberOfChannels - 1)
[in] ulOption1 Reserved. Set to 0
[out] Response 
sResponse.iReturnValue

  • 0: Means the remote function performed OK
  • -1: Means an system error occurred
  • -2: The PLD is not working
  • -3: Invalid parameter channel
  • -4: Timeout while asking channel value
  • -100: Internal system error occurred. See value of syserrno

sResponse.syserrno system-error code (the value of the libc "errno" code)
ulValue Current value of the channel (0 corresponds to -10V, 0x7fff corresponds to 0V, 0xffff corresponds to +10V)

Return values:
0 SOAP_OK
Others See SOAP error