Chapter 8
Counters
©
National Instruments Corporation
8-19
Fig
u
re 8-19 shows an example of a single two-signal edge-separation
meas
u
rement.
Figure 8-19.
Single Two-Signal Edge-Separation Measurement
Buffered Two-Signal Edge-Separation Measurement
B
u
ffered and single two-signal edge-separation meas
u
rements are similar,
b
u
t b
u
ffered meas
u
rement meas
u
res m
u
ltiple intervals.
The co
u
nter co
u
nts the n
u
mber of rising (or falling) edges on the So
u
rce
inp
u
t occ
u
rring between an active edge of the Gate signal and an active
edge of the A
u
x signal. The co
u
nter then stores the co
u
nt in a hardware save
register. On the next active edge of the Gate signal, the co
u
nter begins
another meas
u
rement. A USB Signal Stream transfers the stored val
u
es to
host memory.
Fig
u
re 8-20 shows an example of a b
u
ffered two-signal edge-separation
meas
u
rement.
Figure 8-20.
Buffered Two-Signal Edge-Separation Measurement
For information abo
u
t connecting co
u
nter signals, refer to the
section.
AUX
Co
u
nter
Armed
8
0 0 0 0 1 2
3
4 5 6 7 8 8 8
Me
asu
red Interv
a
l
GATE
S
OURCE
Co
u
nter V
a
l
u
e
HW
Sa
ve Regi
s
ter
SOURCE
Counter Value
Buffer
AUX
GATE
1 2 3
1 2 3
1 2 3
3 3
3
3
3
3