Buffered Period Measurement - National Instruments Data Acquisition Device NI USB-621x User Manual

Daq m series bus-powered m series usb devices
Hide thumbs Also See for Data Acquisition Device NI USB-621x:
Table of Contents

Advertisement

GATE
SOURCE
Counter Value
Buffer
Time N
t
At t
, the counter is armed. No measurements are taken until the counter is armed.
0
0
t
The rising edge of Gate indicates the beginning of the first period to measure. The counter begins counting
1
rising edges of Source.
t
The rising edge of Gate indicates the end of the first period. The USB-621x device stores the counter value in
2
the buffer.
t
The rising edge of Gate indicates the end of the second period. The USB-621x device stores the counter value
3
in the buffer.
© National Instruments Corporation

Buffered Period Measurement

Buffered period measurement is similar to single period measurement, but
buffered period measurement measures multiple periods.
The counter counts the number of rising (or falling) edges on the Source
input between each pair of active edges on the Gate input. At the end of
each period on the Gate signal, the counter stores the count in a hardware
save register. A USB Signal Stream transfers the stored values to host
memory.
The counter begins on the first active edge of the Gate after it is armed. The
arm usually occurs in the middle of a period of the Gate input. The counter
does not store a measurement for this incomplete period.
Figure 8-8 shows an example of a buffered period measurement. In this
example, a period is defined by two consecutive rising edges.
Counter Armed
t
t
0
1
Figure 8-8. Buffered Period Measurement
Note that if you are using an external signal as the Source, at least one
Source pulse should occur between each active edge of the Gate signal.
This condition ensures that correct values are returned by the counter. If this
1
2
3
1
3
3
t
2
8-7
Chapter 8
Counters
2
3
1
3
3
3
t
3
NI USB-621x User Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ni usb-621 series

Table of Contents