Chapter 7
Counters
X Series User Manual
7-36
ni.com
Table 7-6 and Fig
u
re 7-34 detail a finite implicit generation of three
samples.
Figure 7-34.
Finite Implicit Buffered Pulse Train Generation
Continuous Buffered Implicit Pulse Train Generation
This f
u
nction generates a contin
u
o
u
s train of p
u
lses with variable idle and
active times. Instead of generating a set n
u
mber of data samples and
stopping, a contin
u
o
u
s generation contin
u
es
u
ntil yo
u
stop the operation.
Each point yo
u
write generates a single p
u
lse. All points are generated back
to back to create a
u
ser defined p
u
lse train.
Finite Buffered Sample Clocked Pulse Train
Generation
This f
u
nction generates a predetermined n
u
mber of p
u
lse train
u
pdates.
Each point yo
u
write defines p
u
lse specifications that are
u
pdated with each
sample clock. When a sample clock occ
u
rs, the c
u
rrent p
u
lse (idle followed
by active) finishes generation and the next p
u
lse
u
pdates with the next
sample specifications.
Note
When the last sample is generated, the p
u
lse train contin
u
es to generate with these
specifications
u
ntil the task is stopped.
Table 7-6.
Finite Implicit Buffered Pulse Train Generation
Sample
Idle Ticks
Active Ticks
1
2
2
2
3
4
3
2
2
S
OURCE
OUT
Co
u
nter Armed
2
2
3
4
2
2
Co
u
nter
Lo
a
d V
a
l
u
e
s
1 0 1 0 2 1 0
3
1 0 1 0 1 0
2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com