09-24-2011 11:45 AM
So, bare with me while I try to explain.
I am making a taco menu program for a Uni assignment. And I placed a configuration .vi where you can set up the prices. It is all good right there, and the user can keep on adding tacos and drinks and using the prices that were set before. However, once I close the main menu program, the configurations go back to none/zero.
So, in more simple terms, the configuration that the user writes in gets lost when the program is restarted. What are some easy ways to save the configuration so as to not have the user set in write in all the values each time the open the program?
Thanks!
09-24-2011 11:52 AM - edited 09-24-2011 11:58 AM
Are you saving the configuration to file?
If so are you closing the file? If not then that explains it - all controls revert to the default value when you restart.
Use the example finder and search for write configuration and read configuration. The example finder has lot's of cool stuff.
09-24-2011 11:54 AM
No, So I should save the state of the configuration windows before closing?
How do I do that?
09-24-2011 11:57 AM
I edited my post before you replied and added the part about the example finder. Reload and you will see
09-24-2011 11:58 AM
Ok, I'll give it a try.
Does anyone have steam? So I can ask faster than spamming the forums? Add me plz, I have a couple of questions http://steamcommunity.com/id/Motanum I'd appreciate
09-25-2011 12:59 AM
See here for an example - https://decibel.ni.com/content/docs/DOC-15349