User manual
Chapter 3 Software Overview
NI-DAQ User Manual for PC Compatibles 3-82 ni.com
Counter/Timer Application Tips
All NI-DAQ counter/timer functions can be broken down into two major
categories—event-counting functions and pulse generation functions.
On top of those functions, NI-DAQ has utility functions.
CTR_EvCount
and
CTR_EvRead
are the two functions designed for
event-counting. See Figure 3-28 for basic building blocks of event-counter
applications. Also, read Event-Counting Applications later in this chapter
for details.
Figure 3-28. Event Counting
CTR_Config
CTR_EvCount CTR_Period
CTR_EvRead
CTR_Reset
Another reading?
Continuous counting on
active gate signals.
Configure the
EvCount counter.
See Event-Counting Applications for details
on
CTR_EvCount and CTR_Period.
NoYes
Start counting. Start counting.
Retrieve count value.
No
Yes
Terminate event counting.










