Hi Brian,
Basically, I just put an Elapsed time and an OR into your VI, such that if the user presses the stop button or the time has elapsed, then the while loop will stop executing.
I have a recommendation for you as well.
Right now, you have the colors of the alarm such that when you wire a false to it, it is Red (bad/in alarm state) and this boolean false is also when you beep. Why don't you reverse the logic, such that when the boolean is true, the alarm's color is red and then you beep? That would seem to make the most sense.
-Sam F, DAQ Marketing Manager