07-21-2005 07:09 AM
07-21-2005 07:14 AM
07-21-2005 07:54 AM
07-21-2005 07:56 AM
07-21-2005 07:59 AM
07-21-2005 08:00 AM
07-21-2005 08:55 AM
07-21-2005 09:20 AM
07-21-2005 09:46 AM
Here are the changes that should probably do what you seem to be trying to do. Look at the differences. You couldn't use your stop button to end the program as it wouldn't be in the outer loop long enough to see the control, unless you pressed it and then almost instantly the save procedure button. There wsa an exit from the inner loop, it was the save to file case. To use the load steps button (I don't have the vi open so I don't remember the names) required clearing the previous path, otherwise it just automatically reloads the original file, and you didn't have anything in your events to cause it to anyway. When you make changes to code and it doesn't really do what you want, stop, think about what steps it must go through exactly to accomplish the desired result, then go through your code (not running, just looking) and try and see what it is really doing. Hilited execution is fine for finding some mistakes in wiring or design, but really analyzing what you are trying to accomplish is the best way to find errors in your logic.
P.M.
P.S. I will be leaving the office for the day shortly