Counter Input Measurements
Edge Counting
You can take edge counting measurements with the NI-9361.
The counter counts the number of active edges on a signal. The NI-9361 returns the
current count value when the counter is read. The following figure shows an
example of edge counting.
Figure 8. Edge Counting
Counter Armed Counter Read Counter Read
0 1 2 3 4 5
Signal to Measure
Counter Value
Read Value
3 5
Channel Settings
You can configure the following counter properties:
■
Input terminal of the signal-to-measure.
■
The initial value of the count.
■
The active edge, rising or falling, that is counted.
■
Count direction to increment or decrement the counter on each edge—You
can set this property to:
■
Count Up
■
Count Down
■
Externally Controlled
Note If you select Externally Controlled, the NI-9361 monitors a
hardware signal to determine the count direction. When the signal is
high, the counter counts up; when the signal is low, the counter
counts down. You can set which signal to monitor.
© National Instruments
13
NI-9361 Getting Started