National Instruments NI 6239 Switch User Manual


 
Chapter 7 Counters
NI 6238/6239 User Manual 7-20 ni.com
Figure 7-20. Single Two-Signal Edge-Separation Measurement
Buffered Two-Signal Edge-Separation Measurement
Buffered and single two-signal edge-separation measurements are similar,
but buffered measurement measures multiple intervals.
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 DMA controller transfers the stored values to host
memory.
Figure 7-21 shows an example of a buffered two-signal edge-separation
measurement.
Figure 7-21. Buffered Two-Signal Edge-Separation Measurement
For information on connecting counter signals, refer to the Default Counter
Terminals section.
AUX
Counter
Armed
8
00001234567888
Measured Interval
GATE
SOURCE
Counter Value
HW Save Register
SOURCE
Counter Value
Buffer
AUX
GATE
123 123 123
33
3
3
3
3