Acquiring a Digital Sample (Line)
You can use the digital lines in your DAQ device to acquire a digital value. This acquisition is based on software timing. Each line 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.