Chapter 2 Function Reference — SCAN_Sequence_Retrieve
©
National Instruments Corporation 2-303 NI-DAQ FRM for PC Compatibles
SCAN_Sequence_Retrieve
Format
status = SCAN_Sequence_Retrieve (device, samplesPerSequence, scanSequenceVector)
Purpose
Returns the scan sequence created by NI-DAQ as a result of a previous call to
SCAN_Sequence_Setup.
Parameters
Input
Output
Parameter Discussion
samplesPerSequence is the number of samples in a scan sequence (obtained from a previous
call to
SCAN_Sequence_Setup
)
and the size of the scanSequenceVector output parameter.
scanSequenceVector contains the scan sequence created by NI-DAQ as a result of a previous
call to
SCAN_Sequence_Setup. The scan sequence will not contain the ghost channel place
holders.
Using This Function
SCAN_Sequence_Retrieve is used to obtain the actual scan sequence to program the
device. You will need this information to call
SCAN_Sequence_Demux to rearrange your data
or to extract particular channels data from your acquisition buffer without rearranging it. If
you use
DAQ_Monitor to extract the data of a channel, you do not need the actual scan
sequence.
Name Type Description
device i16 assigned by configuration utility
samplesPerSequence i16 the number of samples in a scan sequence
Name Type Description
scanSequenceVector [i16] contains the scan sequence