Showing results for 
Search instead for 
Did you mean: 

save value control



How can I save the value of a control and when I close the labview the values return to the control?


But the values changes some times.


How can i preserve this values when I open again the labview?


Thank You.

0 Kudos
Message 1 of 4



I think you have to write the value into a file when your application shuts down and when it starts you have to load it from the same file.


Configuration file (INI) seems to be appropriate for that, the VIs are in a subpalette of the File palette.


If you need an example to start from, go to Help >> Find examples.. >> seach tab and look for "INI".


Hope this helps

We have two ears and one mouth so that we can listen twice as much as we speak.


Antoine Chalons

0 Kudos
Message 2 of 4

There are two ways. As suggested by TiTou you can use the file to save the file (Mostly advised) else you can set default values to the controls which you can do by right click the control >> Data operation >> Make current value default or select the controls Edit>> Make Current alue Default. I would prefer writing to file 🙂



The best solution is the one you find it by yourself
0 Kudos
Message 3 of 4

This has been asked many times before. Did you search?


Community: Easy saving and loading of control values

0 Kudos
Message 4 of 4