 <p>This code will not do what you want.</p> <p>While loop have to stop before popup. But as you popup outside of your loop after popup vi will be stopped. </p> <p>Insert the popup to your loop, put there case and put the popup inside the case. Connect time has elapsed Boolean to your case conditional terminal. Make sure you run the VI using arrow not continuous run option.</p>