int MSXE351x__AnalogOutputWriteMoreValues ( xsd__unsignedLong  ulChannelMask,
struct MSXE351x__unsignedLong8FixedArrayParam pulOutputType,
struct MSXE351x__unsignedLong8FixedArrayParam pulPolarity,
xsd__unsignedLong  ulTriggerMask,
xsd__unsignedLong  ulTriggerEdgeSelection,
xsd__unsignedLong  ulTriggerCount,
struct MSXE351x__unsignedLong8FixedArrayParam pulValue,
xsd__unsignedLong  ulOption01,
xsd__unsignedLong  ulOption02,
xsd__unsignedLong  ulOption03,
struct MSXE351x__unsignedLong8FixedArrayParam pulOption04,
struct MSXE351x__Response Response 
)
Parameters:
[in] ulChannelMask : Mask of the channel to write (1 bit = 1 Channel)
[in] pulOutputType : array of output type (0 for Voltage, 1 for Current, 2 system default) for each channels
Each index of the array correspond to the channel :
sample :

  • [0] : Define the voltage type for the channel 0
  • [1] : Define the voltage type for the channel 1
  • ...
[in] pulPolarity : array of output polarity (0 for unipolar, 1 for bipolar) for each channels
Each index of the array correspond to the channel :
sample :

  • [0] : Define the polarity for the channel 0
  • [1] : Define the polarity for the channel 1
  • ...
[in] ulTriggerMask : output trigger (0 for no trigger used, D0 for trigger input, D1 for synchro input)
[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] pulValue : array of output value for each channels

  • bipolar : (0 to 0xFFFF)
  • unipolar : (0 to 0x7FFF)

Each index of the array correspond to the channel :
sample :

  • [0] : Define the value for the channel 0
  • [1] : Define the value for the channel 1
  • ...
[in] ulOption01 : Reserved
[in] ulOption02 : Reserved
[in] ulOption03 : Reserved
[in] pulOption04 : array of 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 more 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