Programming instructions
Chapter 27 Counting Signal Highs and Lows
©
National Instruments Corporation 27-5 LabVIEW Data Acquisition Basics Manual
Figure 27-7.
Diagram of Count Events-Easy (9513) VI
This VI initiates the counter to count the number of rising edges of a
TTL signal at the SOURCE of counter. The counter continues counting
until the
STOP
button is pressed. Remember that you must externally wire
your signal to be counted to the SOURCE of
counter
. Additionally, you
can cascade two counters by choosing
two counters (32-bits)
in the
number of counters to use
menu. This will extend your counting range to
over 4 billion. You must also wire the OUT of
counter
to the SOURCE of
counter+1
for this increased counting range. For a complete description of
this example, refer to the information found in
Windows»Show VI Info…
.
If you need more control over when your event counting begins and
ends, use the Intermediate VIs instead of the Easy VIs. Figure 27-8 shows
the Count Events-Int (9513) VI located in
labview\examples\
daq\Am9513.llb
.
Figure 27-8.
Diagram of Count Events-Int (9513) VI










