Chapter 7
Counters
©
National Instruments
7-7
X Series User Manual
Fig
u
re 7-5 shows an example of a single p
u
lse-width meas
u
rement.
Figure 7-5.
Single Pulse-Width Measurement
Implicit Buffered Pulse-Width Measurement
An implicit b
u
ffered p
u
lse-width meas
u
rement is similar to single
p
u
lse-width meas
u
rement, b
u
t b
u
ffered p
u
lse-width meas
u
rement takes
meas
u
rements over m
u
ltiple p
u
lses.
The co
u
nter co
u
nts the n
u
mber of edges on the So
u
rce inp
u
t while the Gate
inp
u
t remains active. On each trailing edge of the Gate signal, the co
u
nter
stores the co
u
nt in the co
u
nter FIFO. A DMA controller transfers the stored
val
u
es to host memory.
Fig
u
re 7-6 shows an example of an implicit b
u
ffered p
u
lse-width
meas
u
rement.
Figure 7-6.
Implicit Buffered Pulse-Width Measurement
S
OURCE
GATE
Co
u
nter V
a
l
u
e
L
a
tched V
a
l
u
e
1
0
2
2
S
OURCE
GATE
Co
u
nter V
a
l
u
e
B
u
ffer
1
0
3
3
2
2
1
2
3
3
2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com