From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I am building a test box for some of our field service technicians that requires 16 analog inputs. Since we have about eight USB-6008 boards sitting around I thought I would try to use two of these before buying a new board. Is there a programatical way to designate which board gets tag/ID 0 and which gets 1? The code that I am building will need to be an executable and all 16 inputs are discrete and completely different analog scales, therefore, I need to ensure that each specific board is tagged appropriately by the PC.
Is the ID usually designated based on order of connection to the PC? Can I create a loop in the program that basic operates until it recognizes both USB plugs have been connected and will not let the main loop take off until this happens. I could even program it so that the user has to verify that the LED blinks on the correct DAQ board when a button is pressed. Sort of a verification of the correct boards. If order is necessary and I can build a "check" loop, then I think I can just specify a USB cable A and B or 1 and 2 and have them plug one in at a time and look for a light on the PC then plug the second in. Then have them press a button on the program front panel that will flash the LED on the DAQ board just as a double check that 1 is 1 and 2 is 2. Then use a thrid button to submit/verify and start main loop.