LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Table goes back to default value

i am writing two strings into a table say password and name, once it is written, and saved. The table goes back to default value and newly added string doesnot exist when the vi is closed and opened. please advice
0 Kudos
Message 1 of 4
(3,014 Views)
You need to right-click on the control and under the selection "Data Operations" choose "Make current value default", and sve your VI.

Alternately, you can do the whole front panel at once by selecting Operate>>Make Current Values Default from the main menu.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(3,013 Views)
You have to either make the new values the default prior to closing/saving the VI or you have to save the data to a file and load it when you run the VI...The most primitive way to do this is to right-click on the table and select make current value default under data operations...The same operation can be done programatically. If you want to build an executable of the VI though saving the data in a file and then reloading it upon startup is the way to go...
0 Kudos
Message 3 of 4
(3,013 Views)
hema;

To programatically change the defaults values of a table, once the table is modified, you can open a reference to the VI with the table and select "Make current values default". Make sure you clse the reference afterwards.

Is your table really to store "passwords"? Are you storing them in the clear? Is security a must in your application?

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 4 of 4
(3,013 Views)