LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I'm currently using labview 5.1.1.


I would like to save the values in a front panel to a text-file in order to load it later.
This way I could have files with different setting. I found a function flatten anything to string, but this gives me a kind of binary output.
To my oppinion this would be a nice standard feature in labview.
In an example I have an array of clusters.
In the clusters there is an enumeric type and 2 numeric controls. For this I use automatic indexing with a for-next loop which unbundles the inputs by name and writes it to a txt-file.
When importing I use typecast for the enum-control.
Maybe this extra information is usable in writing a vi which takes any cluster and writes it to a text-file.
( bundling is a conveniant way of
selecting what to write to the text-file )
0 Kudos
Message 1 of 2
(2,282 Views)
Use the inifile approach
You can find the vi's in the bottom of the fileio palette.
greetings from the Netherlands
0 Kudos
Message 2 of 2
(2,282 Views)