LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving Values to a Menu, Text ring control

Hello,
 
   I am using a menu ring control to provide selectable items from. I also give the option using a text box and button to allow items to be added to the ring. This all works great. The problem is that when I exit the program any items added to the ring are lost. I am not prompted to save any changes made I assume this is because it is in run mode? So is there a way to have the items permanently saved in the ring while in run mode? Preferably when the Add item button is clicked? If I do a Ctrl-S (to save) while in run mode it will save it, but I would like it to save when it is added to the ring.
 
Many Thanks for any assistance.
Charlie
Everything is Free! Until you have to pay for it.
0 Kudos
Message 1 of 5
(2,847 Views)
Your going to have to programmatically load and save these values yourself in the code, probably from an INI file.
0 Kudos
Message 2 of 5
(2,844 Views)
I don't know whether or not configuration files will do what you ask but what I do is store the string values into a spreadsheet file.  When the software runs the next time, it rereads the file and updates the ring accordingly.  I too am open to any suggestions better than this.
0 Kudos
Message 3 of 5
(2,843 Views)
Sounds like the way it will have to be. I was hoping for a property or switch somewhere that could be set  to handle it. Oh well I appreciate your quick response!
Thanks, Charlie
Everything is Free! Until you have to pay for it.
0 Kudos
Message 4 of 5
(2,837 Views)

Will keep my eyes open for any thing other than what you are doing as well, but sounds like that is the way it may have to be. Thanks for your reply!

Charlie

Everything is Free! Until you have to pay for it.
0 Kudos
Message 5 of 5
(2,835 Views)