LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

saving global variables in an executable

Hi,
 
I would like to use variables to retain set values during an execution so that they are there when the program is re-opened. I've used global variables in a front panel only vi, which works fine when the vi is run inside labview but when I build the executable, the globals do not save... reverting to their original default values. Is there a trick to how you add the globals vi to the project build or am I barking up the wrong tree completely.
 
Many thanks in advance for any help,
 
Andrew Lowe
 
 
0 Kudos
Message 1 of 2
(2,650 Views)

Hi Andrew

This topic has been discussed several time - just search for "set current values default" or similar expressions.

Just to give you another idea - why not use configuration files?

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 2
(2,647 Views)