LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB Device Name changes issue

Hi,

I am trying to use the .exe application in my desktop containing LabVIEW runtime environment. 

Every time when I plug USB device to the PC the device number changes. Please see the attached image 1.

BLACK_DI and BLACK_DI_BLDC virtual channel are used in two different separate application which uses the same device NI USB-6509. 

BLACK_DI uses physical channel Dev5. See the attached image 2.

BLACK_DI_BLDC uses physical channel Dev7_1. See the attached image 3. 

How do I keep both the physical channel as same device ID such as Dev5. 

Download All
0 Kudos
Message 1 of 3
(2,798 Views)

Hey,

 

You can rename or give an alias to your device using NI-MAX. You can then refer to the device using its name rather than the generic 'DevX'. You will have to update your application to refer to your chosen device name.

 

Hope this helps!

 

Best, 

 

-Jelmer.

0 Kudos
Message 2 of 3
(2,742 Views)

This can happen with USB Devices which choose not to define a standard USB Serial Number as part of the device descriptor.  Since the OS has no way of distinguishing one version of a device from another of the same type, it treats each individual "Connect" as a new device.

Message 3 of 3
(2,720 Views)