LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

NIMax always re-writes nidaqmx device names

I have 4 PXI chassis that use ni-DAQmx devices ( under “MAX”). One of the chassis always boots up with the ni-DAQmx devices set to dev1,dev2,dev(n)… instead of  the default names of  PXI1slot3, PXI1slot(n).  Every time the computer is re-started, I have to open “MAX” and set ni-DAQmx to default names.

The other 3 PXI chassis automatically boot up with the default names. Is it possible to force “MAX” to assign the ni-DAQmx devices with their default names.

 

 

Thanks Wes

 

 

0 Kudos
Message 1 of 2
(3,213 Views)
Hi Wes,

From your description it sounds like you may not have identified the controller/PXI chassis combination in Measurement and Automation Explorer (MAX).  I'm assuming that you are using an embedded controller in each of those chassis, but if you're actually using a remote controller the same information still applies.  There is a file called PXISYS.INI that is automatically generated once you have properly identified the controller/chassis in use.  The PXISYS.INI file provides mappings from PCI logical addresses (PCI bus, device, and function numbers) to corresponding PXI slot numbers, allowing device driver software to identify the slot of a PXI module.  This would apply to the NI-DAQmx driver, and I believe is the reason why your DAQmx devices default to Dev1, Dev2, etc. upon rebooting your system.  Here is a Knowledgebase article on our website that has more information on the PXISYS.INI file:
What Are PXISYS.INI and CHASSIS.INI?

To properly identify the controller and chassis, right-click on the PXI System under "Devices and Interfaces" in MAX and choose "Identify as..." to select your particular controller and chassis. After doing this, you may need to reboot your computer and then Windows should find the devices automatically.  If you run into any problems after doing this please let us know and also provide the following information:
1.  controller type (model number if it is embedded)
2.  chassis model
3.  NI-DAQmx driver version

Regards,
Andrew W
National Instruments
0 Kudos
Message 2 of 2
(3,195 Views)