Download LabVIEW Data Acquisition Basics Manual

Transcript
Chapter 24
Generating a Square Pulse or Pulse Trains
The example Finite Pulse Train (8253) VI located in labview\
examples\daq\counter\8253.llb shows how to generate a finite
pulse train. This example uses a sequence structure to divide the basic tasks
involved. Figure 24-23 shows frame 0 of the sequence where all of the
counters are reset. Notice counter 1 is reset so its output state starts high.
Figure 24-23. Frame 0 of Finite Pulse Train (8253) VI
Figure 24-24 shows frame 1 of the sequence where the counters are set up
for different counting modes. counter 0 is set up to generate a timebase
using the ICTR Timebase Generator VI. counter 1 is set up to output a
single low pulse using the ICTR Control VI. counter 2 is set up to output
a pulse train using the ICTR Timebase Generator VI.
© National Instruments Corporation
24-19
LabVIEW Data Acquisition Basics Manual