Buffered Semi-Period Measurement; Frequency Measurement; Method 1-Measure Low Frequency With One Counter - National Instruments PXI-6238 User Manual

Isolated current input/current output devices
Table of Contents

Advertisement

Chapter 7
Counters

Buffered Semi-Period Measurement

In buffered semi-period measurement, on each edge of 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 counting when it is armed. The arm usually occurs
between edges on the Gate input. So the first value stored in the hardware
save register does not reflect a full semi-period of the Gate input. In most
applications, this first point should be discarded.
Figure 7-10 shows an example of a buffered semi-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.
For information on connecting counter signals, refer to the
Terminals

Frequency Measurement

You can use the counters to measure frequency in several different ways.
You can choose one of the following methods depending on your
application.
Method 1—Measure Low Frequency with One
Counter
In this method, you measure one period of your signal using a known
timebase. This method is good for low frequency signals.
NI 6238/6239 User Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Counter Armed
GATE
SOURCE
Counter Value
0
1
2
2
2
Buffer
Figure 7-10. Buffered Semi-Period Measurement
section.
7-10
1
2
3
1
1
2
1
2
2
2
3
1
2
3
3
3
1
1
2
Default Counter
ni.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ni 6238Ni 6239Daq m series

Table of Contents