EasyManuals Logo
Home>National Instruments>I/O Systems>622 Series

National Instruments 622 Series User Manual

National Instruments 622 Series
297 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #102 background imageLoading...
Page #102 background image
7-6 | ni.com
Chapter 7 Counters
Figure 7-7 shows an example of a single period measurement.
Figure 7-7. Single Period Measurement
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 DMA controller transfers the stored values to host
memory.
The counter begins when it is armed. The arm usually occurs in the middle of a period of the
Gate input. So the first value stored in the hardware save register does not reflect a full period of
the Gate input. In most applications, this first point should be discarded.
Figure 7-8 shows an example of a buffered period measurement.
Figure 7-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 condition is not met, consider using duplicate count prevention,
described in the Duplicate Count Prevention section.
SOURCE
GATE
Counter Value
HW Save Register
10 3
5
4
5
2
SOURCE
GATE
Counter Value
Buffer
112 3
32
3
311
2
2
2
2
3
3
2
(Discard) (Discard) (Discard)
3
Counter Armed

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the National Instruments 622 Series and is the answer not in the manual?

National Instruments 622 Series Specifications

General IconGeneral
BrandNational Instruments
Model622 Series
CategoryI/O Systems
LanguageEnglish

Related product manuals