LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I put the contents of an array into a set of write local variable clusters?

I have a set of controls that a user fills in. The controls are clustered by rows, then combined into a 1D array, then written to a file. When I read the file, I want to feed the array back into the clusters with write local variables. Is there a simple way to handle the numerous local variable clusters so I can stuff the array back into them?

Is there a better way to handle the whole issue of storing and recovering the information?

The rows are steps in a procedure, and each row (cluster) contains numerical as well as string controls.
0 Kudos
Message 1 of 2
(2,514 Views)
There are many ways of doing this
You may convert all your data to strings and save as an ascii file (you have to pay attention to the file format, so you can read it properly.

Or you can use the configuration vi's, it may work in your case.

or you may use an invoke node to get all controls of the vi's, save it, then read it, without worrying about any format. I have attached a vi that uses this method.
0 Kudos
Message 2 of 2
(2,514 Views)