This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Accessing LabVIEW Registration and License Information Programmatically

Updated Dec 11, 2023

Environment

Software

  • LabVIEW

I need the following information when I run a LabVIEW VI - Registered Organization, Registered Owner, and Serial Number. How can I access this information programmatically in LabVIEW?

The registration information is stored by LabVIEW in the Windows Registry under HKEY_LOCAL_MACHINE\Software\National Instruments\LabVIEW\x.x (where x.x is the version of LabVIEW).

You can use the Windows Registry Access VIs in LabVIEW to interact with the Registry programmatically. For versions newer than LabVIEW 6.0, these VIs are located in the Functions»Connectivity»Windows Registry Access palette. For LabVIEW 6.0 and older, these VIs are located in the Functions»Advanced»Windows Registry Access VIs palette.

Use the Open Registry Key VI with a subkey of SOFTWARE\National Instruments\LabVIEW\x.x\ to create a reference to the key. To access the different registry values that contain the license information (RegisteredOrganizationRegisteredOwnerSerialNo), use the Read Registry Value Simple VI. You must use the Close Registry Key VI to close the reference to the key (see attached VI).