Pulse Measurement; Single Pulse Measurement; Implicit Buffered Pulse Measurement - National Instruments X Series User Manual

Hide thumbs Also See for X Series:
Table of Contents

Advertisement

Chapter 7
Counters

Pulse Measurement

In pulse measurements, the counter measures the high and low time of a pulse on its Gate input
signal after the counter is armed. A pulse is defined in terms of its high and low time, high and
low ticks or frequency and duty cycle, which is similar to the pulse-width measurement, except
that the inactive pulse is measured as well.
You can route an internal or external periodic clock signal (with a known period) to the Source
input of the counter. The counter counts the number of rising (or falling) edges occurring on the
Source input between two edges of the Gate signal.
You can calculate the high and low time of the Gate input by multiplying the period of the Source
signal by the number of edges returned by the counter.
Refer to the following sections for more information about X Series pulse measurement options:

Single Pulse Measurement

Implicit Buffered Pulse Measurement

Sample Clocked Buffered Pulse Measurement
Hardware-Timed Single Point Pulse Measurement
Single Pulse Measurement
Single (on-demand) pulse measurement is equivalent to two single pulse-width measurements
on the high (H) and low (L) ticks of a pulse, as shown in Figure 7-8.
Figure 7-8. Single (On-Demand) Pulse Measurement
Counter
Armed
Gate
Source
Latched
Value
Implicit Buffered Pulse Measurement
In an implicit buffered pulse measurement, on each edge of the Gate signal, the counter stores
the count in the FIFO. 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, but the counting does not start until the desired edge. You can select whether to read
the high pulse or low pulse first using the StartingEdge property in NI-DAQmx.
7-8 | ni.com
1
2
3
4
5
6
7
1
2
3
4
5
6
7
8
9
10
H L
7 10

Advertisement

Table of Contents
loading

Table of Contents