User manual
Chapter 3 Software Overview
© National Instruments Corporation 3-77 NI-DAQ User Manual for PC Compatibles
Counter/Timer Functions
The Counter/Timer (
CTR
) functions perform counting timing I/O and
timing counter operations on the Am9513-based MIO devices and the
PC-TIO-10:
CTR_Config
Specifies the counting configuration to use
for a counter.
CTR_EvCount
Configures the specified counter for an
event-counting operation and starts the
counter.
CTR_EvRead
Reads the current counter total without
disturbing the counting process and returns
the count and overflow conditions.
CTR_FOUT_Config
Disables or enables and sets the frequency
of the 4-bit programmable frequency
output.
CTR_Period
Configures the specified counter for period
or pulse-width measurement.
CTR_Pulse
Causes the specified counter to generate a
specified pulse-programmable delay and
pulse width.
CTR_Rate
Converts frequency and duty-cycle
values of a square wave you want into the
timebase and period parameters needed for
input to the
CTR_Square
function that
produces the square wave.
CTR_Reset
Turns off the specified counter operation
and places the counter output drivers in the
selected output state.
CTR_Restart
Restarts the specified counter operation.
CTR_Simul_Op
Configures and simultaneously starts and
stops multiple counters.
CTR_Square
Causes the specified counter to generate a
continuous square wave output of specified
duty cycle and frequency.










