int MSXE351x__AnalogOutputWrite1Value ( xsd__unsignedLong  ulChannel,
xsd__unsignedLong  ulOutputType,
xsd__unsignedLong  ulPolarity,
xsd__unsignedLong  ulTriggerMask,
xsd__unsignedLong  ulTriggerEdgeSelection,
xsd__unsignedLong  ulTriggerCount,
xsd__unsignedLong  ulValue,
xsd__unsignedLong  ulOption01,
xsd__unsignedLong  ulOption02,
xsd__unsignedLong  ulOption03,
struct MSXE351x__Response Response 
)
Parameters:
[in] ulChannel : Index of the analog output (0 to 7)
[in] ulOutputType : output type (0 for Voltage, 1 for Current, 2 system default)
[in] ulPolarity : output polarity (0 for unipolar, 1 for bipolar)
[in] ulTriggerMask : output trigger (0 for no trigger used, D0 for trigger input, D1 for synchro input)
Trigger input and Synchro input can not be used at the same time
[in] ulTriggerEdgeSelection : not used for the synchro input

  • 01 : rising front (Only if trigger input selected)
  • 10 : falling front (Only if trigger input selected)
  • 11 : Both front (Only if trigger input selected)
[in] ulTriggerCount : not used for the synchro input
Define the number of trigger events before the action occur
1 : all trigger event start the action
max value : 65535
[in] ulValue : output value

  • bipolar : (0 to 0xFFFF)
  • unipolar : (0 to 0x7FFF)
[in] ulOption01 : Reserved
[in] ulOption02 : Reserved
[in] ulOption03 : Reserved
[out] Response :
iReturnValue :

  • 0: remote function performed OK
  • -1: an system error occured
  • -2: channel selection error
  • -3: output type selection error
  • -4: polarity selection error
  • -5: trigger mask selection error
  • -6: Trigger edge selection error
  • -7: Trigger count selection error
  • -8: channel value selection error
  • -100: Write one analog output value kernel function error

syserrno : system-error code (the value of the libc "errno" code)

Returns:
  • 0: SOAP_OK
  • <> 0: See SOAP error