10-28-2019 02:25 PM
hi. in my code i change list box item name and there is no problem and when i stop vi and run again vi the changes are remained. i created an application run app and change item name but after close app and run again the changes are not remained and listbox item name return to last value. how can i save the changes?
Solved! Go to Solution.
10-28-2019 03:19 PM
Hi h.sepah,
Once you build the executable, it cannot be modified. Any values, properties, etc. that you change while the executable is running, will not be preserved when it is closed. Many applications have some kind of a configuration file which they read parameters from when the program starts and write parameters to when the program ends. You decide what it is in the config file and what your code does with it. LabVIEW ships with "Configuration File VIs" that use text files. I like MGI's read / write anything VIs which take a cluster as an input and output.