National Instruments 320682C Musical Toy Instrument User Manual


 
Easy I/O for DAQ Library Chapter 10
LabWindows/CVI Standard Libraries 10-8 © National Instruments Corporation
Easy I/O for DAQ Function Reference
This section describes each function in the Easy I/O for DAQ Library. The function descriptions
are arranged alphabetically.
AIAcquireTriggeredWaveforms
short
error
=
AIAcquireTriggeredWaveforms
(short
device
, char
channelString
[]
,
long
numberOfScans
,
double
scansPerSecond
,
double
highLimitVolts
,
double
lowLimitVolts
,
double
*
actualScanRate
,
unsigned short
triggerType
,
unsigned short
edgeSlope
,
double
triggerLevelV
,
char
triggerSource
[],
long
pretriggerScans
,
double
timeLimitsec
,
short
fillMode
, double
waveforms
[]);
Purpose
This function performs a timed acquisition of voltage data from the analog channels specified in
the
channelString
. The acquisition does not start until the trigger conditions are satisfied.
If you have an E Series DAQ device, you can select Equivalent Time Sampling for the Trigger
Type to sample repetitive waveforms at up to 20 MHz. See the help for the Trigger Type
parameter for details.