Chapter 7 Counters
X Series User Manual 7-32 ni.com
Finite Pulse Train Generation
This function generates a train of pulses with programmable frequency and
duty cycle for a predetermined number of pulses. With X Series counters,
the primary counter generates the specified pulse train and the embedded
counter counts the pulses generated by the primary counter. When the
embedded counter reaches the specified tick count, it generates a trigger
that stops the primary counter generation.
Figure 7-29. Finite Pulse Train Generation: Four Ticks Initial Delay, Four Pulses
In Legacy Mode, this counter operation requires two counters and does not
use the embedded counter. For example, to generate four pulses on
Counter 0, Counter 0 generates the pulse train, which is gated by the paired
second counter. The paired counter, Counter 1, generates a pu lse of desired
width.
Note Counter 0 is always paired with Counter 1. Counter 2 is always paired with
Counter 3.
The routing is done internally. Figure 7-30 shows an example finite pulse
train timing diagram.
Figure 7-30. Finite Pulse Train Timing in Legacy Mode
Enablex
Source
Ctrx
Counter Armed
Counter 1
(Paired Counter)
Counter 0
Generation
Complete
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com