For the elapse-time-1.vi, the inner while-loop will keep on running till the time the stop button is pressed. Once the stop button is pressed, a boolean true is going to be sent to the condition terminal of the outer while-loop meaning that it would only execute once.
Regards,
Chetan K
Application Engineer
National Instruments