just an aside,
if you want to create "copies" of the local variables, you can click and
hold on CTRL, then Drag the local variable you want to copy...
Regis
"Al S" wrote in message
news:506500000005000000CEED0000-1042324653000@exchange.ni.com...
> To get a controlled stop (highly reccommended), each loop needs to
> test for the condition that stops all while loops. What sets the
> condition to stop all while loops? A button? An error?
> If you want a single button to stop all while loops, you can use
> multiple local variables: put a local variable for the button in each
> loop and combine it with the rest of the logic to stop the loop. To
> create a local variable, right-click on the control (or on its
> terminal on the diagram) and s
elect Create >> Local Variable. Locals
> default to write locals. To change a local to a read local,
> right-click on the local and select Change to Read.
> Note: you can't copy local variables to create multiple locals for the
> same control: you need to right-click >> Create >> Local Variable
> multiple times. If you try to copy a local, you get a copy of the
> control too.
> If you're using an error to stop all loops, sometimes it helps to use
> shift registers also.