08-22-2005 10:57 AM
08-22-2005 11:20 AM
Ugh!
You did not include your subVIs, but do they all execute fast (below 250ms)? If the answer is yes, you could put all code in one loop since all loops run at the same rate.
Why are all your stop buttons hidden? In principle, you need only one, then put a local variable(read) in each loop.
In one loop, e.g. the topmost loop, replace the wait with an event structure. Add a timeout event set to 500ms and place the code that is currently inside this loop. Add a filtering event for "panel close?" and for "stop-value changed?" In each of these non-timeout events place a dialog with your message, and discard the event if cancel is pressed. If the dialog is accepted, write a true to the stop to stop all loops.