Easy I/O for DAQ Library Chapter 10
LabWindows/CVI Standard Libraries 10-30 © National Instruments Corporation
Table 10-4. Adjacent Counters
Am9513
counter-1 counter counter+1
512
123
234
345
451
10 6 7
678
789
8910
9106
DAQ-STC
counter-1 counter counter+1
101
010
This function is useful for relatively high frequency signals when many cycles of the signal occur
during the timing period. Use the PulseWidthOrPeriodMeasConfig function for
relatively low frequency signals. Keep in mind that
period = 1/frequency
This function configures the specified counter and counter+1 (optional) as event counters to
count rising edges of the signal on counter's SOURCE pin. The function also configures
counter-1 to generate a minimum-delayed pulse to gate the event counter, starts the event
counter and then the gate counter, waits the expected gate period, and then reads the gate
counter until its output state is low. Next the function reads the event counter and computes the
signal frequency (number of events/actual gate pulse width) and stops the counters. You can
optionally gate or trigger the operation with a signal on counter-1's GATE pin.