7-30
|
ni.com
Chapter 7
Counters
Figure 7-31 shows a generation of two pulses with a pulse delay of five and a pulse width of
three (using the rising edge of Source) with CO.EnableInitalDelayOnRetrigger set to the default
True.
Figure 7-31.
Retriggerable Single Pulse Generation with Initial Delay on Retrigger
Figure 7-32 shows the same pulse train with CO.EnableInitalDelayOnRetrigger set to the
default False.
Figure 7-32.
Retriggerable Single Pulse Generation with
Initial Delay on Retrigger Set to False
Note
The minimum time between the trigger and the first active edge is two ticks
of the source.
For information about connecting counter signals, refer to the
section.
Continuous Pulse Train Generation
Continuous pulse train generation creates a train of pulses with programmable frequency and
duty cycle. The pulses appear on the Counter
n
Internal Output signal of the counter.
You can specify a delay from when the counter is armed to the beginning of the pulse train. The
delay is measured in terms of a number of active edges of the Source input.
You specify the high and low pulse widths of the output signal. The pulse widths are also
measured in terms of a number of active edges of the Source input. You can also specify the
active edge of the Source input (rising or falling).
S
OURCE
GATE
(
S
t
a
rt Trigger)
OUT
5
3
5
3
Co
u
nter
Lo
a
d V
a
l
u
e
s
4
3
2 1 0 2 1 0
4
3
2 1 0 2 1 0
S
OURCE
GATE
(
S
t
a
rt Trigger)
OUT
5
3
2
3
Co
u
nter
Lo
a
d V
a
l
u
e
s
4
3
2 1 0 2 1 0
4
3
2 1 0 2 1 0
Summary of Contents for 6368
Page 1: ...PXIe 6368...