LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Option modification

Hi, 

I would like to learn how to modify the LabVIEW -> Tools -> Options. All the parameters under Option window. Is there a file which you can modify or apply changes by using the batch file?

 

Regards, 

max

0 Kudos
Message 1 of 6
(2,770 Views)

So the obvious question is "Why?".  One generally does not "mess" with the built-in functionality of a complex programming system such as LabVIEW.

 

Bob Schor

0 Kudos
Message 2 of 6
(2,726 Views)

One potential application might be to export and import the Labview environment settings to replicate a configuration?

0 Kudos
Message 3 of 6
(2,719 Views)

With the LabVIEW executable is a LabVIEW.ini.  That configuration file is what holds all of your settings.  I keep a copy available for new installs.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 6
(2,707 Views)

For clarity, the path is (assuming installed on C:/) C:/Program Files {,(x86)}/National Instruments/LabVIEW 20[01][0-9]/LabVIEW.ini

The path is probably the same for versions older than 2009(?) but I don't know how to give the path names there 😉

You can have (annoyingly, perhaps) separate configurations in Program Files and Program Files (x86) on a 64 bit system with both 32 and 64 bit LabVIEW installed.

 

One possible simplification is to put the ini file somewhere shared (like Dropbox) and then add symbolic links to it.

On Windows, you can do this (probably requiring administrator access to create/move files in Program Files) with a command line command like

mklink "C:\Program Files (x86)\National Instruments\LabVIEW 2017\LabVIEW.ini" "C:\Users\<username>\Desktop\LabVIEW.ini" 

the first path is the link, the second is the destination/target.

mklink /?

provides some description to remind you.

 

Edit: LabVIEW will read this file, but then creates a real file in place of the symlink when you close. So you can use it to set LabVIEW options, but not to share LabVIEW options between computers when you change them inside LabVIEW 😞


GCentral
Message 5 of 6
(2,696 Views)

correct, to standardize the config for all the programmers in order to enforce internal standards.

0 Kudos
Message 6 of 6
(2,656 Views)