11-14-2007 05:09 AM - edited 11-14-2007 05:12 AM
11-14-2007 06:07 AM
11-14-2007 07:52 AM
I agree with what Gerd wrote.
I discuss various methods of saving and restoring program states in this Nugget.
That Nugget may give you some ideas.
Ben
11-16-2007 01:44 PM
Hey guys,
I attempted to save the array values to a file and reload the file to the vi.
As my knowledge of LabVIEW is extremely basic, my idea worked but not quite how
I wanted it to. My first problem (which I'm just now realizing, so haven't
attempted to solve) is I need to create a file to save my array values to, ONLY
IF, the file doesn't already exist. Next (if the file exist) I would like to
load the data into the "Strings []" property node array, which I have
accomplished except with one problem. The data in the file gets loaded into the
array as a single string (with spaces between the names, see fig 1) instead of
multiple strings making a list in the combo box (fig 2). If you could give me
some suggestions (avoiding "Event Structures...as I've tried mulitple
times to use them to no prevail), it'd be greatly appreciated.
11-16-2007 03:42 PM - edited 11-16-2007 03:42 PM
11-17-2007 03:40 PM
11-17-2007 03:51 PM
WEvans wrote:
Appreciate the help, but I'm not sure how to change the "array type" (not format type) to output a "1-D array of string" instead of a "1-D array of single [32-bit real (~6 digital precision)]".
11-17-2007 03:55 PM - edited 11-17-2007 03:55 PM
WEvans wrote:
Also do you know a vi that will open a file, if the file path exist, or create the file if it doesn't??

11-21-2007 01:53 AM
11-21-2007 02:15 AM
Could you explain what the program is actually supposed to do? Whatever it is, it can probably be done wiht half your code.