Instead of using an array, you could use the configuration file vi's to save
the value of front panel controls. The OpenG toolkit also has configuration
file vi's which, among other things, allow you to save all the controls on
the front panel at once. See
http://openg.org/tiki/tiki-index.php?page=OpenG+Lib%3A+Variant+Configuration
+File+IO The documentation doesn't provide a lot of explanation, but it is
worth downloading and installing.
"GregM" wrote in message
news:50650000000800000057FF0000-1079395200000@exchange.ni.com...
> I want to be able to read the status of front panel controls (value,
> control box selection, etc.) and save it to a file, as a
> "configuration" file -- then be able to load it and have all the
> controls set to the same s
tates as were saved in the file. I was
> thinking an array would be a way to do this, as I have done that in
> VB. (Saving it as a text file, then reading lines back into the array
> when the file is read and point the control(s) values/states to the
> corresponding array element.