06-04-2012 09:53 AM
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?
06-04-2012 10:00 AM
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
06-04-2012 11:18 AM
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