Does NI MAX Assign the Same Name to Multiple USB Devices?

Updated Dec 14, 2021

Issue Details

  • I have multiple USB devices of the same model. If I unplug one device and swap it for another, will NI MAX keep the same name?
  • My USB-4065 is named "Dev1" in NI MAX by default. Will changing this for another USB-4065 use the same name?
  • Will my LabVIEW™ code address my USB devices using the same alias?

Solution

NI MAX will not use the same for multiple USB devices. Once the device is connected to the PC, NI MAX stores the device's unique Serial Number in it's data files.
If the device is disconnected from the PC, it will remain stored in the NI MAX data files unless it is deleted. Therefore, another device (either of the same model or a different model) will be assigned a different name.

LabVIEW code will address USB devices using the name that is assigned in NI MAX. If LabVIEW needs to communicate with multiple devices, the device's name can be programmatically detected and changed. Refer to the following articles for instructions: