I know, i know. This has been posted before but that was 2 years ago :P.
I'm writing a program that is going to be compiled and distributed. Within that program I have a rather elaborate array of clusters (that contain array of clusters) that the user has to interact with in order to set the parameters of a state machine.
If the program was not going to be a compiled program but just a VI running in LabVIEW, I could make use of the "Make current value default" of the particular control when the VI was not running. However, because this will be a compiled program it will either be open and running or closed.
What would be the most graceful way to save my control array of clusters? I'm basically interested in the control array of clusters retaining their values between loads. I don't particularly want to get in the nitty gritty of creating a flat-file format for the data and have overly complicated save and load stages in my program. If the case is that the best approach is a flat-file one, can I have some recommendations on how I should go about it?
Thanks for all of you input.
For another option, have a look here.
In that thread, I mentioned some changes which could help this.
I have done them quickly, but haven't planned or tested them, so what I'm uploading is just an example.