Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change my USB-6211 device name

Hi all,
    Instead of having the default device name "Dev1", can I change the device name to prevent name clashing if more than 2 devices are plugged in and provide better control in my software?

Thanks....

BR VincentSmiley Indifferent
0 Kudos
Message 1 of 4
(4,888 Views)
Hi Vincent,
 
In order to change the name of a device in Measurement and Automation Explorer, simply right click on the device and select "rename".  You can then change the name to whatever you would like to use.  As long as you assign different names to different devices, no conflict will occur.  Thank you!
Regards,
Vanessa L.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(4,867 Views)
Hi Vanessa,
    Thanks for your reply. Apologise for not providing sufficient info to you.
Actually, I am developing my application using VB6.0(DAQMX v8.5).

Can I know if there is an function that I can call to change the name?


Best regards
Vincent
0 Kudos
Message 3 of 4
(4,861 Views)
Hi Vincent,
 
There is no way to programmatically change the names of a device in Visual Basic.  There is a property called DaqSystem.Devices that will give you access to an array of the devices that are installed on the system but this is a read only property.  However, when you installed DAQmx, Measurement and Automation Explorer (MAX) also installs in your system.  This program allows you to configure and check the functionality of the hardware insalled. I still think that changing the name in MAX would be the best way to do it for you application.  Once you change the device names to something that you want, you can use any of the functions to create a channel out of the device and use the name that you configured in MAX. Hopefully this information is helpful!
Regards,
Vanessa L.
Applications Engineer
National Instruments
Message 4 of 4
(4,833 Views)