Instruction manual

AMPDIO DRIVERS
Page 224
where h short: board handle as issued by the
registerBoardEx function.
Group short: ADC channel group.
pData pointer to long: pointer to long integer
variable which will be set to the cooked ADC
data value.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
AIOcountADCgroups
AIOsetADCconvSource
AIOsetADCmultiplexer
AIOstartADCconversion
See Also
6.4.19.5 Set ADC Start Acquisition Trigger — AIOsetADCstartAcquisitionTrigger
Sets ADC start acquisition trigger if supported by the driver and the hardware.
A continuous acquisition starts when the start acquisition trigger occurs after the driver is
given the first buffer to be filled in by DIO_TC.DLL. Subsequent buffers are filled as normal.
For a non-continuous acquisition, the driver applies the start acquisition trigger to every buffer
given to it by DIO_TC.DLL.
If the start acquisition type is START_TRIG, the specified hold-off count must be zero and
data acquired before the trigger occurs is discarded.
If the start acquisition type is START_NOW, a non-zero hold-off count may be specified to
delay setting the trigger until the number of samples specified by the hold-off count have been
acquired. Data acquired before the trigger occurs is not discarded. The function
AIOgetADCpretriggerCount may be called to check whether the trigger has occurred and the
position of the sample where the trigger occurred.
Start acquisition types other than START_NOW and start acquisition trigger sources other
than TRIG_NOW are only supported by the new PCI230+ and PCI260+ cards.
If the start acquisition trigger uses an analogue channel, this should be one of the channels
being acquired.
For the PCI230+ and PCI260+ cards, start acquisition types other than START_NOW and
start acquisition trigger sources other than TRIG_NOW are only used when the ADC FIFO is
enabled.
SUPPORTED IN VERSION 4.42 ONWARDS.
i = AIOsetADCstartAcquisitionTrigger (h, Group, Trig, Start, Chan,
Threshold, Hysteresis, HoldOff)
where h short: board handle as issued by the