int MSXExxxx__AcquisitionSequenceInitAndStart ( xsd__unsignedLong  ulNbrOfChannel,
struct MSXExxxx__AcquisitionSequenceInitAndStartChannelListParam psChannelList,
xsd__unsignedLong  ulAcquisitionTime,
xsd__unsignedLong  ulAcquisitionTimeUnit,
xsd__unsignedLong  ulNbrOfSequence,
xsd__unsignedLong  ulNbrMaxSequenceToTransfer,
xsd__unsignedLong  ulTriggerMask,
xsd__unsignedLong  ulTriggerMode,
xsd__unsignedLong  ulHardwareTriggerEdge,
xsd__unsignedLong  ulHardwareTriggerCount,
xsd__unsignedLong  ulByTriggerNbrOfSeqToAcquire,
xsd__unsignedLong  ulDataFormat,
xsd__unsignedLong  ulForceStart,
xsd__unsignedLong  ulOption1,
xsd__unsignedLong  ulOption2,
xsd__unsignedLong  ulOption3,
struct MSXExxxx__Response Response 
)

Initialises and starts the sequence acquisition mode.

Parameters:
[in] ulNbrOfChannel : Nbr of channel in the sequence
[in] psChannelList : List of the channel who compose the sequence.
[in] ulAcquisitionTime : Acquisition Time

  • range from min 10 to 65535 when the unit is the microsecond
  • range from min 1 to 65535 when the unit is the millisecond
  • range from min 1 to 65535 when the unit is the second
[in] ulAcquisitionTimeUnit : Acquisition Time Unit

  • 0 : us
  • 1 : ms
  • 2 : s
[in] ulNbrOfSequence : Number of sequence to acquire :

  • 0 : continuous mode
  • <> 0 : number of sequence
[in] ulNbrMaxSequenceToTransfer : Max nbr of sequence to acquire before a data transfer : (1,4096)
[in] ulTriggerMask : Define the source of the trigger

  • 0 : trigger disabled
  • 1 : Enable Hardware Digital Input Trigger
  • 2 : Enable Synchro Trigger
  • 3 : Enable Compare Trigger (only useful if your system has incremental counter input)
[in] ulTriggerMode : Define the trigger mode

  • 1 : One shot trigger
  • 2 : Sequence trigger
[in] ulHardwareTriggerEdge : Define the edge of the hardware trigger who generate a trigger action

  • 1 : rising front (Only if hardware trigger selected)
  • 2 : falling front (Only if hardware trigger selected)
  • 3 : Both front (Only if hardware trigger selected)
[in] ulHardwareTriggerCount Define the number of trigger events before the action occur

  • 1 : all trigger event start the action
  • max value : 65535
[in] ulByTriggerNbrOfSeqToAcquire : define the number of sequence to acquire by each trigger event

  • 0 : continuous mode
  • <> 0 : number of sequence : (1..0xFFFFFFFF)
[in] ulDataFormat : Data format option
D0 : Absolute Time stamp information

  • 0 : no time stamp information
  • 1 : time stamp information

D1 : Relative Time stamp information

  • 0 : no time stamp information
  • 1 : time stamp information

D2 : Sequence counter information

  • 0 : No sequence counter information
  • 1 : Sequence counter information

D3 : Hardware trigger information

  • 0 : No hardware trigger information required
  • 1 : Hardware trigger information required

D4 : Data format

  • 0: Digital value (see technical description)
  • 1: Analog value (see technical description)

You can not select both absolute and relative time stamp simultaneously

[in] ulForceStart :

  • 0 : Function return a error if any acquisition already in progress
  • 1 : If any acquisition in progress then stop this
[in] ulOption1 : Reserved. Set to 0
[in] ulOption2 : Reserved. Set to 0
[in] ulOption3 : Reserved. Set to 0
[out] Response :
iReturnValue :

  • 0: Means the remote function performed OK
  • -1: Means an system error occured
  • -2: Any acquisition already in progress
  • -3: The nbr of channel in the sequence is null or to high
  • -4: Channel index selection error
  • -5: Channel already selected
  • -6: Any selected channel not OK, call the diagnostic function for more information
  • -7: Not available acquisition time unit
  • -8: The minimal acquisition time is 1000 us !
  • -9: The maximal acquisition time is 65535 !
  • -10: Transfer sequence size error (1 to 4096) !
  • -11: The total number of sequences is not a multiple from number of sequences to transfer
  • -12: Trigger mask not available
  • -13: Trigger mask : 2 different trigger source cannot be simultaneously be activated
  • -14: Trigger mode not available
  • -15: Trigger mask : 2 trigger mode cannot be simultaneously be activated
  • -16: Hardware trigger : front definition error
  • -17: Hardware trigger count value not available
  • -18: Nbr of sequence to acquire by trigger mode not available
  • -19: Data format not available
  • -20: Selected channels combination not available
  • -100: Start sequence kernel function error

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

Return values:
0 SOAP_OK
Others See SOAP error