Chapter 7
Counters
X Series User Manual
7-34
ni.com
Fig
u
re 7-32 shows the same p
u
lse train with
CO.EnableInitalDelayOnRetrigger set to the defa
u
lt False.
Figure 7-32.
Retriggerable Single Pulse Generation with
Initial Delay on Retrigger Set to False
Note
The minim
u
m time between the trigger and the first active edge is two ticks of the
so
u
rce.
For information abo
u
t connecting co
u
nter signals, refer to the
Default
Counter/Timer Pinouts
section.
Continuous Pulse Train Generation
This f
u
nction generates a train of p
u
lses with programmable freq
u
ency and
d
u
ty cycle. The p
u
lses appear on the Co
u
nter
n
Internal O
u
tp
u
t signal of the
co
u
nter.
Yo
u
can specify a delay from when the co
u
nter is armed to the beginning
of the p
u
lse train. The delay is meas
u
red in terms of a n
u
mber of active
edges of the So
u
rce inp
u
t.
Yo
u
specify the high and low p
u
lse widths of the o
u
tp
u
t signal. The p
u
lse
widths are also meas
u
red in terms of a n
u
mber of active edges of the So
u
rce
inp
u
t. Yo
u
also can specify the active edge of the So
u
rce inp
u
t (rising or
falling).
The co
u
nter can begin the p
u
lse train generation as soon as the co
u
nter is
armed, or in response to a hardware Start Trigger. Yo
u
can ro
u
te the Start
Trigger to the Gate inp
u
t of the co
u
nter.
Yo
u
also can
u
se the Gate inp
u
t of the co
u
nter as a Pa
u
se Trigger (if it is not
u
sed as a Start Trigger). The co
u
nter pa
u
ses p
u
lse generation when the
Pa
u
se Trigger is active.
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
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com