[in] | ulChannelMask | Mask of the channel to acquire by the auto refresh (1 bit = 1 Channel). 0 for all available acquisition channels |
[in] | ulAverageValue | Set the average value :
- 1 : not used
- max value : 255
|
[in] | ulRefreshTimeUnit | Refresh Time Unit
- 0 : microsecond
- 1 : millisecond
- 2 : second
|
[in] | ulRefreshTime | Refresh Time
- range from min 1000 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] | ulTriggerMask | Define the source of the trigger
- 0 : trigger disabled
- 1 : Enable Hardware Digital Input Trigger
- 2 : Enable Synchro Trigger
- 4 : Enable Compare Trigger (only useful if your system has incremental counter or Sine/Cosine input)
- 8 : Enable Index Trigger (only useful if your system has Sine/Cosine input)
|
[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
- 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 |
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 : Auto refresh counter information
- 0 : No auto refresh counter information
- 1 : Auto refresh counter information
D3 : System status information
- 0 : No system status information required
- 1 : System status 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: Any selected channel not OK, call the diagnostic function for more information
- -4: Channel Mask error
- -5: Not available average value
- -6: Not available refresh time unit
- -7: The minimal refresh time is 1000 us !
- -8: The maximal refresh time is 65535 !
- -9: Trigger mask not available
- -10: Trigger mask : 2 different trigger source cannot be simultaneously be activated
- -11: Trigger mode not available
- -12: Trigger mask : 2 trigger mode cannot be simultaneously activated
- -13: Hardware trigger : front definition error
- -14: Hardware trigger count value not available
- -15: Nbr of sequence to acquire by trigger mode not available
- -16: Data format not available
- -17: Selected channels combination not available
- -100: Kernel function error
syserrno : system-error code (the value of the libc "errno" code) |