LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving a configuration VI for future use?

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!

0 Kudos
Message 1 of 6
(2,688 Views)

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.

=====================
LabVIEW 2012


0 Kudos
Message 2 of 6
(2,686 Views)

No, So I should save the state of the configuration windows before closing?

How do I do that? 

0 Kudos
Message 3 of 6
(2,682 Views)

I edited my post before you replied and added the part about the example finder. Reload and you will see Smiley Very Happy

=====================
LabVIEW 2012


0 Kudos
Message 4 of 6
(2,680 Views)

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

0 Kudos
Message 5 of 6
(2,676 Views)


___________________
Try to take over the world!
0 Kudos
Message 6 of 6
(2,645 Views)