LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to save controls value in labview

Solved!
Go to solution

hi i want to know how to save the controls value in PC. means if i assign 5  digital value to a control it should remain there even i restarts my PC.

0 Kudos
Message 1 of 5
(14,448 Views)

Did you try a search? This has been asked dozens of times. There's lots of possibilities, and they all boil down to : save the values to a file when the application ends, and read them from a file when the application starts.

Message 2 of 5
(14,443 Views)
Solution
Accepted by topic author nadeemalikpda

And here's an easy to use example - http://decibel.ni.com/content/docs/DOC-15349


___________________
Try to take over the world!
Message 3 of 5
(14,429 Views)

This can mean two things. Will the default value always be 5? You could right click the control, select Data Operations, then Make Current Values Default. This can only be done at edit time and the value is saved with the vi. If you know you will always need the same default value then do this. If you need the user to be able to change the default value without editing and saving the vi then see the post by smercurio_fc above.

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


0 Kudos
Message 4 of 5
(14,410 Views)

This is the easiest way I've found - someone else did all the work, I just need to put them at the start and end of my program.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 5 of 5
(14,388 Views)