Chapter 10 Easy I/O for DAQ Library
© National Instruments Corporation 10-47 LabWindows/CVI Standard Libraries
5: I_HARDWARE_TRIGGERED_STROBE—similar to mode 4, except that a rising edge at
the gate input triggers the count to start.
6: I_READ—read the counter and return the value in the readValue parameter.
7: I_RESET—resets the counter and sets its output to outputState.
count is the period between output pulses. This parameter accepts the following attributes:
If controlCode is 0, 1, 4, or 5, count can be 0 through 65,535 in binary counter operation
and 0 through 9,999 in binary-coded decimal (BCD) counter operation.
If controlCode is 2 or 3, count can be 2 through 65,535 in binary counter operation and 2
through 9,999 in BCD counter operation.
Note: 0 is equivalent to 65,535 in binary counter operation and 10,000 in BCD counter
operation.
PlotLastAIWaveformsPopup
short error = PlotLastAIWaveformsPopup (short device, double waveformsBuffer[]);
Purpose
This function plots the last AI waveform that was acquired. It is intended for demonstration
purposes.
Data must be grouped by channel before it is passed to this function:
Either use the GROUP_BY_CHANNEL as the fillMode parameter when acquiring the data or call
GroupByChannel before calling this function.
Parameters
Input device short integer Assigned by configuration utility.
waveformsBuffer double array Array containing the last AI waveform acquired.
Return Value
error short integer Refer to error codes in Table 10-5.