ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write to array control

Solved!
Go to solution

I'm sure that this is a simple thing, but I've been away from LabView for quite a while, and this has me stumped...

 

I have a front panel with a 2x2 array that accepts user input.  I've also got a sub-VI built that takes that 2x2 array and writes it to an INI file.  I've also written a sub-VI that reads the INI and places the values into a 2x2 array.

 

Now, my issue is how do I get the 2x2 array that I read back from the INI file back into the 2x2 control the next time the program is run?

 

Essentially, I'm trying to save the user's input and use it as a starting point the next time the VI operates.

 

Anyone want to get me started back on the road of LabView programming?

0 Kudos
Message 1 of 3
(3,283 Views)
Solution
Accepted by Steve257
Write to a local variable of the control. You can also wire to a value property node but this is much slower than a local.
0 Kudos
Message 2 of 3
(3,277 Views)

Smiley Happy Perfect!  I knew there had to be a simple way of doing that--my addled brain couldn't come up with it...I've got to get comfortable with LabView again before I try anything too drastic.

0 Kudos
Message 3 of 3
(3,267 Views)