04-26-2006 11:16 PM
04-27-2006 12:31 PM
Hello Bernie,
Thank you for posting to the NI Discussion Forums! There are, of course, many ways to set up your program but I’ll discuss 2 possibilities below:
Possibility 1:
Keep your code modular! It sounds like from start to “Point A” you are doing a well-defined set of actions. Why not make this a sub-VI? You could then choose whether or not to call that sub-VI depending on whether the program has run before. You’ll need to store this information somewhere in your program either through one of the two types of globals, a hidden control, or clever use of an uninitialized shift-register. See VI1 below.
Possibility 2:
Remove the “run” arrow button altogether and force your users of your program to use an interface you design. You can design this interface to skip the stuff before “point A” if the program has been run before. Use loops as discussed in your posting for this.
Hope these help, if any other users have suggestions we will welcome those too! Please let us know if you have other questions-
04-27-2006 11:16 PM
Travis,
Thanks for the reply, I have LV 7.0 and could not open your sample file. Please advise.
Regards,
Bernie
04-28-2006 04:25 PM
05-01-2006 04:24 PM