Pulse Measurement; Single Pulse Measurement; Implicit Buffered Pulse Measurement - National Instruments NI cRIO-905x Series User Manual

Embedded compactrio controller with real-time processor and reconfigurable fpga
Table of Contents

Advertisement

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. This 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 cRIO controller pulse measurement
options:

Single Pulse Measurement

Implicit Buffered Pulse Measurement

Sample Clocked Buffered 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 the figure below.
Figure 57. 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. The sampled values will be transferred to host memory using a high-
speed data stream.
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.
The figure below shows an example of an implicit buffered pulse measurement.
72 | ni.com | NI cRIO-905x User Manual
1
2
3
4
5
6
7
1
2
3
4
5
H L
6
7
8
9
10
7 10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ni crio-9053Ni crio-9054Ni crio-9056Ni crio-9057

Table of Contents