
Chapter 9 | Counters |
Figure
| Counter | ||||
| Armed | ||||
AUX |
|
| Measured Interval |
|
|
|
|
| |||
|
|
|
|
| |
GATE |
|
|
|
|
|
SOURCE |
|
|
|
|
|
Counter Value | 0 0 0 0 1 2 3 4 5 6 7 8 8 8 | ||||
HW Save Register | 8 |
Figure
Buffered
Buffered and single
The counter counts the number of rising (or falling) edges on the Source input occurring between an active edge of the Gate signal and an active edge of the Aux signal. The counter then stores the count in a hardware save register. On the next active edge of the Gate signal, the counter begins another measurement. A USB Signal Stream transfers the stored values to host memory.
Figure
AUX |
|
|
|
|
|
|
|
|
GATE |
|
|
|
|
|
|
|
|
SOURCE |
|
|
|
|
|
|
|
|
Counter Value | 1 2 3 | 1 2 3 | 1 2 3 |
| ||||
|
|
| 3 |
| 3 |
| 3 |
|
Buffer |
|
|
|
| 3 |
| 3 |
|
|
|
|
|
|
| 3 |
| |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Figure
For information about connecting counter signals, refer to the Default
Counter/Timer Pinouts section.
© National Instruments Corporation |