NI-DAQmx Counter In

Block Category: Real Time

The NI-DAQmx Counter In block lets you create channels to count the number of rising or falling edges of a digital signal, measure the frequency of a digital signal, measure the period of a digital signal, measure the width of a digital pulse, measure the time between state transitions of a digital signal, and measures the amount of time between the rising or falling edge of one digital signal and the rising or falling edge of another digital signal. 

Refer to the National Instruments NI-DAQmx C Reference Help file for detailed descriptions of these options, under NI-DAQmx C Functions > Channel Configuration/Creation > Create Counter Input Channels.