I would like to use custom LabVIEW INI configuration files when launching the development environment, rather than using or overwriting the global configuration files. How can I specify my custom INI file at startup?
This can be achieved by launching LabVIEW from the command line using the -pref flag, and specifying the custom INI file. For LabVIEW 2020 64-bit, use a command similar to the following from a Windows Command Prompt:
"C:\Program Files\National Instruments\LabVIEW 2020\LabVIEW.exe" -pref "C:\MyCustomConfig\labview.ini"
The flag for the INI file can point anywhere the user places it. On Linux, a command similar to the following can be entered in a terminal emulator:
/usr/local/natinst/LabVIEW-2020-64/labview -pref /directory/labview.conf
The current user account needs to have the proper permissions to access the configuration file's location. This is especially important on Linux in a multi-user environment. If the currently logged in user does not have access to the configuration file, the command will silently fail and launch LabVIEW with the global configuration.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.