Using the Digital Input/Output
- Updated2025-09-22
- 1 minute(s) read
Learn about the DIO functionality for C Series digital input and digital output modules through the NI-DAQmx driver.
To use digital input/output (DIO), install a digital C Series module into any slot on the cDAQ chassis. The I/O specifications, such as number of lines, logic levels, update rate, and line direction, are determined by the type of C Series module used. For more information, refer to the documentation included with your C Series module(s).
Note (NI-9401) When you change
the configuration of lines on a NI-9401 digital module between input and
output, NI-DAQmx temporarily reserves all of the lines on the
module for communication to send the module a line configuration
command. For this reason, you must reserve the task in advance
through the DAQmx Control Task before any task has started. If
another task or route is actively using the module, to avoid
interfering with the other task, NI-DAQmx generates an error
instead of sending the line configuration command. During the
line configuration command, the output lines are maintained
without glitching.