LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stop Button Won't Work In Architecture

All,

I am at a loss as to why my stop button (titled Abort shown in the image below) will not function.  Typically the while loop will run until my data rises above 700 and then drops below 200 which will trigger a true value to the while loop stop.  However, I wanted to add an abort button in case the while loop needed to be manually exited so I just threw in the stop control.  I have this abort button hidden until the true case is initialized.  For some reason though, I am unable to mouse click on the abort button once I have entered the loop.  The mechanical acti
on is set to "switch when pressed."  Thanks for any ideas you might have.

abort trouble.PNGabort trouble 2.PNG

0 Kudos
Message 1 of 4
(2,978 Views)

What happens in the true case  after the abort goes through the or gate?

 

edit:  whoops wrong case

0 Kudos
Message 2 of 4
(2,970 Views)

Please attach the actual VI. The diagram pictures are useless to troubleshoot. We cannot see how events are configured and what's happening in the other cases.

 

Obviously you have an event for the OK button, then you are firing that same event once more with a value(sgnl) property when you enter the inner case (why???). Since the event structure has already beeen passed, the event can no longer fire and the event most likely locks the front panel until the event has been handled, i.e. never(!), because the code will be trapped in the inner loop.

 

0 Kudos
Message 3 of 4
(2,953 Views)

Another situation as to why this idea should have gotten more than 2 kudoes over  the years before it was closed.

 

0 Kudos
Message 4 of 4
(2,929 Views)