Programming instructions

Chapter 24 Generating a Square Pulse or Pulse Trains
LabVIEW Data Acquisition Basics Manual 24-20
©
National Instruments Corporation
Figure 24-25 shows frame 2 of the sequence where a delay occurs so that
the finite pulse train has time to complete before the example can be run
again. This is useful if the example is used as a subVI where it may get
called over and over. For a complete description of this example, refer to
the information found in
Windows»Show VI Info…
.
Figure 24-25.
Frame 2 of Finite Pulse Train (8253) VI
Counting Operations When All Your Counters Are Used
The DAQ-STC and Am9513 have counting operations available even
when all the counters have been used.
DAQ-STC devices feature a FREQ_OUT pin and Am9513 devices feature
an FOUT pin. On these pins you can generate a 0.5 duty cycle square wave
without using any of the available counters.
The CTR Control VI, found in
Functions»Data Acquisition»Counters»
Advanced Counters
, enables and disables the FOUT signal and sets the
square wave frequency. The square wave frequency is defined by the
FOUT timebase signal divided by the FOUT divisor. The front panel and
block diagram below show an FOUT output configured to generate a
25,000 Hz square wave.