5-8
|
ni.com
Chapter 5
Counters
Figure 5-9 shows an example of an implicit buffered pulse measurement.
Figure 5-9.
Implicit Buffered Pulse Measurement
Sample Clocked Buffered Pulse Measurement
A sample clocked buffered pulse measurement is similar to single pulse measurement, but a
buffered pulse measurement takes measurements over multiple pulses correlated to a sample
clock.
The counter performs a pulse measurement on the Gate. On each sample clock edge, the counter
stores the high and low ticks in the FIFO of the last pulse to complete. The STC3 transfers the
sampled values to host memory using a high-speed data stream.
Figure 5-10 shows an example of a sample clocked buffered pulse measurement.
Figure 5-10.
Sample Clocked Buffered Pulse 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.
Semi-Period Measurement
In semi-period measurements, the counter measures a semi-period on its Gate input signal after
the counter is armed. A semi-period is the time between any two consecutive edges on the Gate
input.
G
a
te
S
o
u
rce
H L
4 2
H L
4 2
4 4
6 2
2 2
H L
4 2
4 4
6 2
H L
4 2
4 4
B
u
ffer
Co
u
nter Armed
Co
u
nter
Armed
G
a
te
S
o
u
rce
H L
2 2
H L
2 2
3 3
Sa
mple
Clock
S
1
S
2
B
u
ffer
2
2
3
3