When License Manager or any NI application software is launched, it checks the following locations that identify volume license servers in the order listed:
- NILM_LICENSE_FILE Windows environment variable
- LM_LICENSE_FILE Windows environment variable
- Servers configured in NI License Manager in the Options»Preferences»Use Network License Servers field
These locations contain the names and port numbers of FLEXnet license servers which FLEXnet licensed application software checks for permission to launch. The NILM_LICENSE_FILE
Windows environment variable is only used by National Instruments software. The LM_LICENSE_FILE
environment variable is not specific to National Instruments; thus, FLEXnet license servers used by other non-NI software programs may appear in this variable as well. Neither of these environment variables are required for NI licensing to work. They are available as an advanced option for those license administrators accustomed to managing licenses with FLEXnet software using environment variables.
Servers configured in NI License Manager in the Options»Preferences»Use Network License Servers
field are only used by NI software and are not used by non-NI software that uses FLEXnet.
Note that if you have many servers configured, it may take longer than normal for your client software to launch. The client software will check each of the servers referenced in the order that the environment variables and NILM server configuration is listed above. If you want to reduce your software launch times, consider doing the following:
- Removing unnecessary servers from NILM_LICENSE_FILE or LM_LICENSE_FILE.
- Use the above environment variables to point to the most common license servers first.
If you have any NI software that uses local activation, they would still try to retrieve the licenses from the servers specified. If you need to use LM_LICENSE_FILE
for other software that require licenses, you could experience long launching time of your NI software. The workaround is to use vendor specific vendor variables, such as VENDOR_LICENSE_FILE
, instead of LM_LICENSE_FILE