10-17-2007 11:07 AM
10-17-2007 11:46 AM
10-17-2007 12:02 PM
10-17-2007 12:58 PM
10-17-2007 01:38 PM
Hi Justin,
As the primary author on the previously mentioned Nugget, I'd like to step in and offer some advise.
0) 20 X 40 screams an array of clusters. this would be a single control instead of 800. That single change would make the code I provided in the Nugget workable for you.
1) Using the Save-restore function (of the Nugget) without changing the structure of your data (array of clusters) would takes DAYS to implement for 800 controls.
2) Using the flatten-unflatten technique (you have said you are using) wil break when you load old files when anything is added to or removed from your front panel (see Nugget).
3) OpenG has a solution that will work but the files are saved as XML (see Nugget).
4) (Was it Lynn?) the previous suggestion to start with a ref to the FP and find all of the controls is probably your best solution but unfortunately you have to write this functionality yourself. If you are using LV8 or better keep in mind that there are panes on the FP now.
Warning: Shameless plug follows
5) (least desirable) If you are using LV 7.1 or earlier, I could sell you some code (AS-IS) that will save and restore all of the controls to an "ini" file and includes an optional "exclude" file that lets you control which controls and indicators will be skipped durring the save-restore.
I am not recomending you buy it from me!
I would rather you wrote this yourself!
If interested e-mail me at
End of shameless plug.
Just trying to help,
Ben
10-17-2007 01:55 PM