11-20-2020 10:35 AM
Regarding the USB-6000 series of DAQ modules, I need both 10 Digital Inputs and 10 digital outputs. Since the I/O is switchable, can I switch the function of the I/O in the VI, or does it need configured in the VI and left that way?
Thanks.
11-21-2020 03:29 PM
I would say both yes and no.
The "yes" part: most digital IO devices allow you to switch between read and write behavior by stopping one type of task and then starting the other type.
The "no" part: in a given wiring setup, it matters what's on the other end of that digital input or output. It's unlikely to make sense to toggle between input and output mode for a particular digital line, because that won't make sense for the equipment that line is wired to.
-Kevin P
11-25-2020 04:59 PM
Hello,
Yes, you can switch them in the VI. For 10 Bidirectional digital channels requirements you would be looking at some models like USB-6001 that includes 13 channels.
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.
You can also review User Manua: https://www.ni.com/pdf/manuals/374259a.pdf page 21 for furthersafety recommendations to avoid damaging devices.