7-6
|
ni.com
Chapter 7
Counters
Refer to the following sections for more information about X Series pulse-width measurement
options:
•
Single Pulse-Width Measurement
•
Implicit Buffered Pulse-Width Measurement
•
Sample Clocked Buffered Pulse-Width Measurement
•
Hardware-Timed Single Point Pulse-Width Measurement
Single Pulse-Width Measurement
With single pulse-width measurement, the counter counts the number of edges on the Source
input while the Gate input remains active. When the Gate input goes inactive, the counter stores
the count in the FIFO and ignores other edges on the Gate and Source inputs. Software then reads
the stored count.
Figure 7-5 shows an example of a single pulse-width measurement.
Figure 7-5.
Single Pulse-Width Measurement
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. A
DMA controller transfers the stored values to host memory.
S
OURCE
GATE
Co
u
nter V
a
l
u
e
L
a
tched V
a
l
u
e
1
0
2
2
Содержание 6368
Страница 1: ...PXIe 6368...