This document provides the steps that you can use in order to automatically and silently activate NI Licenses (such as NI Vision Run-Time License, etc...) as part of the BLT activation process for your LabVIEW application.
In order to do this, we create a new BLT Product Feature where we will store the NI License keys for each of your end-user. Then, we will use the BLT for LabVIEW API in order to retrieve those License Keys and programmatically activate NI products using the command line utility: nilmUtility.exe
This procedure has been validated with NI License Manager version 3.x
Note that this procedure can be adapted to NI License Manager version 4.x. For more information, make sure NI License Manager 4.x is installed on your computer and run the following command in a CMD window:
"C:\Program Files (x86)\National Instruments\Shared\License Manager\NILicensingCmd.exe" /help
However, NI License Manager 4.x requires that you are previously logged in with your NI Account before you can perform a silent activation. National Instruments currently doesn't provide any way to automate this login process!
1. Create a new BLT Product Feature
2. Define the NI License Keys for your end-users using Product Feature Permissions
3. Use the BLT API for LabVIEW and programmatically activate NI Licenses
4. Activate NI Licenses as part of the BLT Activation process
This step must be performed only after you have successfully configured the BLT Build Specifications for your product. See here for more information.
Matthias Baudot | Software Architect | Founder at STUDIO BODs