Main Content

Counter and Timer Input and Output

R2026b
Acquire 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

addinputAdd input channel to device interface
addoutputAdd output channel to device interface
removechannelRemove channel from device interface
resetcountersReset hardware scan count for all counter inputs

Topics

Featured Examples