LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I programmatically read the serial number of PXI controller or MXI board in LabVIEW?

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

 

 


0 Kudos
Message 11 of 17
(2,077 Views)

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!

 

System Configuration.png

Zach C.
Field Engineer
Greater Los Angeles

0 Kudos
Message 12 of 17
(2,071 Views)

Hello,

 

Unfortunately running this VI I get the NI Cards.

But not the chasis in the list.

 

Maciej


0 Kudos
Message 13 of 17
(2,060 Views)

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.

Zach C.
Field Engineer
Greater Los Angeles

0 Kudos
Message 14 of 17
(2,033 Views)

Which models would allow to read out the PXI Chasis Serial Number?

 

Regards,

Maciej


0 Kudos
Message 15 of 17
(2,028 Views)

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!

Zach C.
Field Engineer
Greater Los Angeles

0 Kudos
Message 16 of 17
(2,016 Views)

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.

Certified LabVIEW Architect
System Test Architect
Electrical Engineering
JLR
0 Kudos
Message 17 of 17
(1,380 Views)