Digital I/O
- Updated2023-03-22
- 1 minute(s) read
The NI USB-6008/6009 has 12 digital lines on two ports, Port 0 has eight lines, P0.<0..7>, and Port 1 has four lines, P1.<0..3>. GND is the ground-reference signal for the digital I/O ports. You can individually program all lines as inputs or outputs.
The following figure shows P0.<0..7> connected to example signals configured as digital inputs and digital outputs. You can configure P1.<0..3> similarly.
- P0.0 configured as an open collector digital output driving an LED
- P0.2 configured as an active drive digital output driving an LED
- P0.4 configured as a digital input receiving a TTL signal from a gated invertor
- P0.7 configured as a digital input receiving a 0 V or 5 V signal from a switch
Caution Exceeding the maximum input voltage ratings or maximum output ratings can damage the device and the computer. National Instruments is not liable for any damage resulting from such signal connections. Refer to the NI USB-6008 Device Specifications or NI USB-6009 Device Specifications for more information.