From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-05-2007 03:45 PM - last edited on 08-02-2010 09:07 AM by Support
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.
-Nic
11-05-2007 03:56 PM
11-05-2007 03:59 PM
11-05-2007 04:56 PM
11-05-2007 05:05 PM
11-05-2007 05:11 PM
11-05-2007 05:24 PM
11-05-2007 05:29 PM
11-05-2007 05:39 PM
11-06-2007 03:51 AM
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.