LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

listbox change item name

Solved!
Go to solution

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?

0 Kudos
Message 1 of 2
(2,485 Views)
Solution
Accepted by topic author h.sepah

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.

0 Kudos
Message 2 of 2
(2,463 Views)