User manual
Chapter 3 Software Overview
NI-DAQ User Manual for PC Compatibles 3-34 ni.com
Figure 3-11. Multirate Scanning
Retrieve the scan sequence vector
for use in the
SCAN_Sequence_Demux function.
Allocate your buffer using the values
returned by SCAN_Sequence_Setup
in the scansPerSequence and
samplesPerSequence output variables.
DAQ_Rate
SCAN_Sequence_Setup
SCAN_Start
DAQ_Check
SCAN_Sequence_Retrieve
SCAN_Sequence_Demux
Data acquisition
complete?
Yes
No
Convert sampling rate to sample
timebase and sample interval; convert scan
rate to scan timebase and scan interval.
Select channels and their gains
and scan rate divisors.
Initiate multiple-channel data acquisition.
Check ongoing data acquisition status.
Rearrange the data in your data acquisition buffer
so that all data from each channel is stored
in adjacent elements of your buffer.










