Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

determining device identifier

I am using DAQ-mx to configure a USB-6008. I have my application running fine on the PC used to develop the application but when I installed it on a different PC it barfed because the Device Identifier was set to Dev2 rather than Dev1, due to another (older) device also being present on that system and taking the Dev1 identifier. I would like to write the code so that it can work in both scenarios. How can I determine the device ID programmatically or can I set it in some way myself? 
0 Kudos
Message 1 of 2
(3,023 Views)
Dear Jarra,

You are three way to realize this.
1. You can change the device's name in the MAX and have the same on both PC.
2. You can place a DAQmx Control on the Front Panel, so the user can select between the device he wants to use
3. The last one, you can do it programmatically. There is an example under  "Programmatically Determining What DAQ Devices Are In My System"

Best regards,
Nick_CH
0 Kudos
Message 2 of 2
(3,015 Views)