Acquiring a Digital Sample (Port)

NI DAQ Assistant

Acquiring a Digital Sample (Port)

You can use the digital port(s) in your DAQ device to acquire a digital value. This acquisition is based on software timing. You can configure the ports individually to either measure or generate digital samples. Each port corresponds to a virtual channel in your task.

Refer to the NI-DAQmx Help for information about sample timing types and change detection.

All E and M Series devices support TTL (transistor-transistor logic)-compatible digital signals. A TTL signal has the following two states:

  • Logic Low = 0 V to +0.8 V

  • Logic High = +2 V to +5 V

Common applications for immediate digital measurements include controlling relays and sensing external device states, such as the state of a switch.