05-29-2024 07:43 AM
Is it possible to start LabVIEW with an alternative INI file?
Usually LabVIEW.exe takes the INI file which is in the same folder with the same name:
"C:\Program Files (x86)\National Instruments\LabVIEW 2020\LabVIEW.exe" uses "C:\Program Files (x86)\National Instruments\LabVIEW 2020\LabVIEW.ini"
What I'd like to do is to give LabVIEW.exe another INI-File as command line parameter. E.g.
"C:\Program Files (x86)\National Instruments\LabVIEW 2020\LabVIEW.exe" "C:\LVProjects\MyLV.ini"
If I do as described above LV opens with the standard ini and loads MyLV.ini in the notepad.
Maybe I need an additional command line parameter or maybe there is also a completly different way. Any hints are welcome.
Thank's you!
Solved! Go to Solution.
05-29-2024 08:14 AM
You should include -pref
"c:\Program Files\National Instruments\LabVIEWxxxx\LabVIEW.exe" -pref "c:\MyProject\labview.ini"
See https://labviewwiki.org/wiki/Custom_LabVIEW_configuration_file
06-06-2024 12:57 AM
It's working! - thank you !! 😀👍