04-27-2007 12:54 PM
04-27-2007 01:15 PM
01-30-2008 03:30 PM
01-30-2008 09:18 PM
02-21-2008 11:34 AM
02-22-2008 01:53 PM
04-03-2009 01:56 AM
Is there any solution to it now??
I want to store 2 information in the file.
1) No. of tests performed on the user.
2) Personal Information of the user(Name, sex, location, etc.)
No. of tests keep changing whenever the user takes a new test. and, the user has the freedom to change his personal settings.
now just to change the value in the "no. of tests", i would have to delete the old file and create a new file with the updated information. that would really be time inefficient.
is there any other workaround that would do the job and is time efficient??
Thanks,
Ritesh
04-03-2009 01:59 AM
This sounds like you want to overwrite properties rather than data values. There's no problem with that. If you set a new value to an existing property, the old value will be overwritten.
Herbert
04-03-2009 02:03 AM
Hi Herbert,
Thanks for your Quick Response.
The user information that i am saving in the file is actually a cluster of values(Name, age, sex,location, phone no, ID, date).
i want to know can i write a cluster to the property?
Thanks,
Ritesh
04-03-2009 02:11 AM
You would need to split the cluster up into basic data types like string or numeric or time stamp. While LabVIEW doesn't have any built-in functions for that, there is a VI library available in this LAVA Discussion Thread that saves clusters as a set of properties and also loads them back from the same set of properties.
Herbert