5-28
|
ni.com
Chapter 5
Counters
Finite Implicit Buffered Pulse Train Generation
This function generates a predetermined number of pulses with variable idle and active times.
Each point you write generates a single pulse. The number of pairs of idle and active times (pulse
specifications) you write determines the number of pulses generated. All points are generated
back to back to create a user defined pulse train.
Table 5-6 and Figure 5-32 detail a finite implicit generation of three samples.
Figure 5-32.
Finite Implicit Buffered Pulse Train Generation
Continuous Buffered Implicit Pulse Train Generation
This function generates a continuous train of pulses with variable idle and active times. Instead
of generating a set number of data samples and stopping, a continuous generation continues until
you stop the operation. Each point you write generates a single pulse. All points are generated
back to back to create a user defined pulse train.
Finite Buffered Sample Clocked Pulse Train Generation
This function generates a predetermined number of pulse train updates. Each point you write
defines pulse specifications that are updated with each sample clock. When a sample clock
occurs, the current pulse (idle followed by active) finishes generation and the next pulse updates
with the next sample specifications.
Note
When the last sample is generated, the pulse train continues to generate with
these specifications until the task is stopped.
Table 5-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