int MSXE371x__TransducerInitAndStartSequence ( xsd__unsignedLong  ulTransducerSelection,
xsd__unsignedLong  ulNbrOfChannel,
struct MSXE371x__unsignedLong8FixedArray pulChannelList,
xsd__unsignedLong  ulNbrOfSequence,
xsd__unsignedLong  ulNbrMaxSequenceToTransfer,
xsd__unsignedLong  ulDelayMode,
xsd__unsignedLong  ulDelayTimeUnit,
xsd__unsignedLong  ulDelayValue,
xsd__unsignedLong  ulTriggerMask,
xsd__unsignedLong  ulTriggerMode,
xsd__unsignedLong  ulHardwareTriggerEdge,
xsd__unsignedLong  ulHardwareTriggerCount,
xsd__unsignedLong  ulByTriggerNbrOfSeqToAcquire,
xsd__unsignedLong  ulDataFormat,
xsd__unsignedLong  ulOption1,
xsd__unsignedLong  ulOption2,
xsd__unsignedLong  ulOption3,
xsd__unsignedLong  ulOption4,
struct MSXE371x__Response Response 
)
Parameters:
[in] ulTransducerSelection : Transducer type selection
[in] ulNbrOfChannel : nbr of channel in the sequence
[in] pulChannelList : list of the channel who compose the sequence
[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
[in] ulDelayMode : Delay Mode :

  • ADDIDATA_DELAY_NOT_USED 0
  • ADDIDATA_DELAY_MODE1_USED 1
[in] ulDelayTimeUnit : Selection of the unit of ulDelayValue

  • 0: ms
  • 1: s
[in] ulDelayValue : Delay Value
[in] ulTriggerMask Define the source of the trigger

  • 0 : trigger disabled
  • 1 : Enable Hardware Digital Input Trigger
  • 2 : Enable Synchro Trigger
  • 4 : Enable Incremental Counter Compare Interrupt
[in] ulTriggerMode Define the trigger mode

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

  • 1 : rising edge (Only if hardware trigger selected)
  • 2 : falling edge (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

  • 0 or 1 : all trigger event start the action
  • max value : 65535
[in] ulByTriggerNbrOfSeqToAcquire Define the number of sequence to acquire by each trigger event (1..65535)
[in] ulDataFormat D0 : Time stamp information

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

D1 : Sequence counter information

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

D2 : Data format

  • 0: Digital value
  • 1: Analog value (in mm)

D3 : invert value

  • 0 : don't invert the channel value
  • 1 : invert the channel value (-2 mm -> + 2mm)

D4 : Temperature value

  • 0 : don't acquire the temperature value
  • 1 : acquire the temperature value

D5 : Incremental counter value

  • 0 : don't acquire the incremental counter value
  • 1 : acquire the incremental counter value

D6 : Diff. mode

  • 0 : Diff mode disabled
  • 1 : Diff mode enabled : Channel X value = Channel (X) value + Channel (X + 4) value

D7 : receive the hardware trigger information

  • 0 : no hardware trigger information
  • 1 : hardware trigger information

D8 : receive the index input information

  • 0 : no index input information
  • 1 : index input information
[in] ulOption1 : Reserved
[in] ulOption2 : Reserved
[in] ulOption3 : Reserved
[in] ulOption4 : Reserved
[out] Response :
iReturnValue :

  • 0: success
  • -1: means an system error occurred
  • -2: Transducer selection error
  • -3: Channel sequence size error
  • -4: Channel array selection error
  • -5: Delay mode selection error
  • -6: Delay time base selection error
  • -7: Delay wait time selection error
  • -8: Max sequence to transfer > number of sequence
  • -9: Trigger source : 2 or more different source cannot be simultaneously be activated
  • -10: Trigger mode selection error
  • -11: Hardware trigger : front definition error
  • -12: Hardware trigger count value not available
  • -13: Nbr of sequence to acquire by trigger mode not available
  • -14: Data format not available
  • -15: Incremental counter not initialised
  • -16: Incremental counter compare logic not initialised
  • -17: Temperature channel not initialised
  • -100: Init and start sequence acquisition kernel function error syserrno : system-error code (the value of the libc "errno" code)
Returns:
  • 0: SOAP_OK
  • <> 0: See SOAP error