Continuous Pulse Train Generation - National Instruments X Series User Manual

Hide thumbs Also See for X Series:
Table of Contents

Advertisement

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
Load Values
(Start Trigger)
Figure 7-32 shows the same pulse train with CO.EnableInitalDelayOnRetrigger set to the
default False.
Figure 7-32. Retriggerable Single Pulse Generation with
Counter
Load Values
(Start Trigger)
SOURCE
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).
7-30 | ni.com
Counter
4 3 2 1 0 2 1 0
GATE
SOURCE
OUT
Initial Delay on Retrigger Set to False
4 3 2 1 0 2 1 0
GATE
OUT
4 3 2 1 0 2 1 0
5
3
4 3 2 1 0 2 1 0
5
3
2
Default Counter/Timer Pins
5
3
3

Advertisement

Table of Contents
loading

Table of Contents