The functionality you are looking for can be done with events as well as loops. The loop solution: Inside your while loop, you place a second while loop that waits for the user to press a button. This way the outer while loop waits on the inner loop to terminate. Be sure to put a wait in the inner loop so that the VI will not consume all of your cpu resources.
To pass your array to the next itteration of the while loop, use a shift register. Right click on the border of the while loop and select add shift registers. The information sent the register on the right will be in the register on the left in the next itteration of the loop. This way you build your array in pieces and pass the current biggest piece around with the shift regis
ters. Search the LabVIEW shipping examples for sampe VI.
You can also run in highlight execution mode (the light bulb) to see what executes when in your program.
Jeremy Braden
National Instruments