Counter and Timer Input and Output
R2026bAcquire counter data and generate pulses with National Instruments™ devices
Use digital and analog counters to count clock ticks and external events. Counters enable timed acquisition and synchronization. Counters output a pulse train, count rising or falling edges, and measure other quantities including:
Frequency
Edges
PWM
Position
Pulse generation
Before you use counter channels, see Hardware Discovery and Setup.
Functions
addinput | Add input channel to device interface |
addoutput | Add output channel to device interface |
removechannel | Remove channel from device interface |
resetcounters | Reset hardware scan count for all counter inputs |
Topics
- Acquire Counter Input Data
Acquire edge counts and frequency measurements from counter input channels.
- Generate Pulse Data on a Counter Channel
Generate pulses on counter/timer device channels.
- Acquire Digital Data Using a Counter Output Channel as External Clock
Acquire digital data using a counter output channel to generate clock pulses.




