© National Instruments
|
5-7
NI cDAQ-9132/9133/9134/9135/9136/9137 User Manual
Figure 5-7 shows an example of a sample clocked buffered pulse-width measurement.
Figure 5-7.
Sample Clocked Buffered Pulse-Width Measurement
Note
If a pulse does not occur between sample clocks, an overrun error occurs.
For information about connecting counter signals, refer to the
section.
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 cDAQ controller pulse measurement
options:
•
•
Implicit Buffered Pulse Measurement
•
Sample Clocked Buffered Pulse Measurement
P
u
l
s
e
S
o
u
rce
Sa
mple Clock
2
3
4
2
4
3
2
2
4
B
u
ffer