Chapter 10 Easy I/O for DAQ Library
© National Instruments Corporation 10-9 LabWindows/CVI Standard Libraries
Parameters
Input device short integer Assigned by configuration utility.
channelString string Analog input channels that are to be sampled.
numberOfScans long integer Number of scans to be acquired complete. One
scan involves sampling every channel in the
channelString once.
scansPerSecond double Number of scans performed per second. Any
particular channel to be scanned at this rate.
highLimitVolts double Maximum voltage to be measured.
lowLimitVolts double Minimum voltage to be measured.
triggerType unsigned
short integer The trigger type.
edgeSlope unsigned
short integer The edge/slope condition for triggering.
triggerLevelV double Voltage at which the trigger is to occur.
triggerSource string Specifies which channel is the trigger source.
pretriggerScans long integer Specifies the number of scans to retrieve before
the trigger point.
timeLimitsec double The maximum length of time in seconds to wait
for the data.
fillMode short integer Specifies whether the waveforms array are in
GROUP_BY_CHANNEL or GROUP_BY_SCAN
mode.
Output actualScanRate double The actual scan rate. The actual scan rate may
differ slightly from the scan rate you specified,
given the limitations of your particular DAQ
device.
waveforms double array Array containing the voltages acquired on the
channels specified in the channelString.
Return Value
error short integer Refer to error codes in Table 10-5.