5-6
|
ni.com
Chapter 5
Counters
Implicit Buffered Pulse-Width Measurement
An implicit buffered pulse-width measurement is similar to single pulse-width measurement, but
buffered pulse-width measurement takes measurements over multiple pulses.
The counter counts the number of edges on the Source input while the Gate input remains active.
On each trailing edge of the Gate signal, the counter stores the count in the counter FIFO. The
STC3 transfers the sampled values to host memory using a high-speed data stream.
Figure 5-6 shows an example of an implicit buffered pulse-width measurement.
Figure 5-6.
Implicit Buffered Pulse-Width Measurement
Sample Clocked Buffered Pulse-Width Measurement
A sample clocked buffered pulse-width measurement is similar to single pulse-width
measurement, but buffered pulse-width measurement takes measurements over multiple pulses
correlated to a sample clock.
The counter counts the number of edges on the Source input while the Gate input remains active.
On each sample clock edge, the counter stores the count in the FIFO of the last pulse width to
complete. The STC3 transfers the sampled values to host memory using a high-speed data
stream.
Figure 5-7 shows an example of a sample clocked buffered pulse-width measurement.
Figure 5-7.
Sample Clocked Buffered Pulse-Width Measurement
Note
If a pulse does not occur between sample clocks, an overrun error occurs.
For information about connecting counter signals, refer to the
section.
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
P
u
l
s
e
S
o
u
rce
Sa
mple Clock
2
3
4
2
4
3
2
2
4
B
u
ffer