02-15-2011 10:48 AM
Hello,
I too am interested in reading the serial number of the PXI Chasis programatically.
I sometimes have the need to change controllers from one device to another.
However the Hardware that is in the PXI slots is not allways the same ( and some of the settings that work in one chasis could potentially cause damage in another , i.e. voltage levels etc.)
If I could read out the PXI Chasis number I could prevent from applying potentially dangereous settings to the cards by a technitian who swaps controllers.
( i.e. I can store the PXI chasis serial number in a settings file )
If the controller is swapped, and a file is being loaded to a chasis of a different serial number than the one the configuration was made on I can raise a warning / error and prevent damage of expensive equipment.
Regards,
Maciej
02-15-2011 11:03 AM
Maciej,
Unfortunately, there is currently no way to read the serial number of the PXI controller. Now, it sounds like you would be satisfied with being able to read the serial number of the chassis and/or the PXI cards themselves. It is possible to do this using the System Configuration Tools. Below is a picture of an easy way to access these properties. Good luck!
02-15-2011 11:22 AM
Hello,
Unfortunately running this VI I get the NI Cards.
But not the chasis in the list.
Maciej
02-16-2011 10:00 PM
Maciej,
Not all PXI chassis allow you to read their serial number. Luckily you are able to read the serial number off individual cards so instructions can be provided to your technician.
02-17-2011 02:43 AM
Which models would allow to read out the PXI Chasis Serial Number?
Regards,
Maciej
02-18-2011 12:16 PM
You can only access the serial number of a PXIe chassis. This information is saved the in pxiesys.ini configuration file. This file is located at C:\Windows\pxiesys.ini. You can just parse this file to read the serial number of the chassis. I have created a quick example of how to do this. Enjoy!
07-13-2021 01:52 AM
I know, it is a very old thread. However, for future references, You will be able to read PXIe controller serial number from C:\Windows\pxiesys.ini, under section [slot1]. You may use the ini file to read the keys. I have been able to read it for PXIe 8840 controller. Please correct if otherwise.