How to Retrieve Software Serial Number Programmatically

Updated May 18, 2021

Environment

Software

  • LabVIEW

I want to retrieve NI software serial number programmatically in LabVIEW, how can I achieve that ?

There is a way in which to retrieve the License information stores in the License Manager. License Manager stores all the license information in the Licensing.dat file, the file path can be found here C:\ProgramData\National Instruments\License Manager\Data.
  1. Open the Licensing.dat file in Notepad to check all licensing information. Below is the picture for reference :
2.PNG
  1. Check the correct naming <Name> for the software that you need to retrieve the serial number, for example, LabVIEW_FPGA_180000.
  2. Open LabVIEW, write a VI by following the picture below to read the Licensing.dat file and enter the name of the software to find its serial number.
SN.PNG