NI USB-6001/6002/6003 User Guide | © National Instruments | 21
Digital I/O
The NI USB-6001/6002/6003 has 13 digital lines: P0.<0..7>, P1. <0..3>, and P2.0. D GND is
the ground-reference signal for digital I/O. You can individually program each line as input or
output.
All digital input and digital output updates and samples are software-timed.
Figure 13 shows P0.<0..7> connected to example signals configured as digital inputs and digital
outputs. You can configure P1.<0..3> and P2.0 similarly.
Figure 13. Example of Connecting a Load
Caution Exceeding the maximum input voltage ratings or maximum output
ratings, which are listed in the specifications document for the device, can damage
the device and the computer. National Instruments is not liable for any damage
resulting from such signal connections. For more information, refer to the device
specifications available at ni.com/manuals.
Power-On States
At system startup and reset, the hardware sets all DIO lines to high-impedance inputs. The
NI DAQ device does not drive the signal high or low. Each line has a weak pull-down resistor
connected to it.
1 P0.0 configured as an open collector digital output driving a LED
2 P0.2 configured as an active drive digital output driving an LED
3 P0.4 configured as a digital input receiving a TTL signal from a gated inverter
4 P0.7 configured as an digital input receiving a 0 V or 5 V signal from a switch