Editing the DIO Hardware

NI-DAQ Measurement & Automation Explorer

Editing the DIO Hardware

The Hardware section defines which DAQ device and which port and line on the device you are assigning to this virtual channel.

Device In the Device selection box, select a DAQ device. The selection box lists all devices in your system with digital ports. If you have selected Read from Line or Write to Line, you select a port and a line. If you have selected Read from Port or Write to Port, you only select a port.
Port In the Port selection box, select the port connected to your signals.

Unidirectional ports are marked by read only or write only following the port name. If you configure your signal to use a unidirectional port in the wrong direction, the configuration is marked as invalid.

Ports with at least one line already reserved are marked by a (sys) or a (cfg) following the port name. A (sys) denotes that at least one line of the port is reserved by the system. A (cfg) denotes that at least one line of the port is reserved by another virtual channel. An (N/A) following a port name indicates that the port is not available on the device. If you configure your signal to use a reserved or unavailable port, the configuration is marked as invalid.

Line For some devices, all lines on the same port must be configured in the same direction. If you select a line on a port and other digital virtual channels are using other lines of the same port for the opposite direction, your virtual channel will become invalid if the DAQ device cannot mix directions on the port.

When you select a device, port, and line, the Hardware section displays the pin number or name corresponding to the selected line.

If you are configuring the channel to Read from Line or Write to Line, the Line menu lists all the available lines on the selected device port. The Line menu marks lines already used by your system configuration or other virtual channels with a (sys) or a (cfg), respectively. If you select lines marked with a (sys) or a (cfg), your virtual channel is marked as invalid. However, in the (cfg) case, if you are swapping two lines, this situation is only temporary and the configuration becomes valid when another virtual channel is no longer attached to the DAQ hardware line.