LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save measure parameters in a file

hi all.

I heve made a measurement program with a lot of parameters (more than 20 clusters of 20 variables...)
I want to save all those parameters in a file, then, when I want to replay the measure, I just have to load/open the parameter file.
How can I do this?
I have found some solutions on the forum but there not very helpfull.

Thank a lot in advance.
0 Kudos
Message 1 of 2
(2,123 Views)
one way is to use the "configiuration file vi's" found under the File I/O pallete. There are examples that ship with labView on how to use them. However, they do not work "as is" with complex data structures.

The other option is convert all data to a spread sheet string and save using " Write to spread sheet file.vi", and reading them back using "read from spread sheet file.vi". This method is tediuos, but you edit the file manually in any text editor and do changes in case.

The other option is to use the method "Get control values" and "set control values".
Atached is a vi that uses this method.

You can also save data to XML/file and read it back
Message 2 of 2
(2,114 Views)