National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 10 Easy I/O for DAQ Library
© National Instruments Corporation 10-45 LabWindows/CVI Standard Libraries
If you acquire data in "grouped by scan" mode, you need to reorder the array into "grouped by
channel" mode before it can be passed to graph plotting functions, analysis functions, and others.
See the description of the fillMode parameter of AIAcquireWaveforms for an explanation of
"grouped by scan" versus "grouped by channel".
Parameters
Input/
Output
array
double
array
Pass in the “grouped by scan” array and it is
grouped by channel in place.
Input
numberOfScans
long integer The number of scans contained in the data
array.
numberOfChannels
unsigned
long integer
Specifies the number of channels that were
scanned. You can use GetNumChannels to
determine the number of channels contained in
your channel string.
Return Value
error
short integer Refer to error codes in Table 10-5.
ICounterControl
short error = ICounterControl (short device, short counter, short controlCode,
unsigned short count, short binaryorBCD,
short outputState, unsigned short *readValue);
Purpose
Controls counters on devices that use the 8253 timer chip (Lab boards, SCXI-1200,
DAQPad-1200, PC-LPM-16, DAQCard 700).