This example demonstrates a method of reading the serial number of a NI PXIe Chassis.
This VI opens the pxiident.ini file (typically located at C:\Program Files\National Instruments\PXI) which stores the serial number of the PXIe Chassis. It then parses the information in the file and locates the serial number. It then displays this serial number into the front panel of the example.
Steps to Implement or Execute Code
- Download the VI
- Configure the file path control with the location of the pxiident.ini file or use the sample one provided
- Run the VI
- Observe the serial number in the indicator on the front panel
Requirements to Run
LabVIEW 2011 or Later
NI-PXI Platform Services 3.0.4 or Later
NI PXIe Chassis
Attached is an example of the pxiident.ini file in order to run this program without installation of PXI Platform Services or the required Hardware.