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
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...
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?