03-09-2016 06:26 PM
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.
03-09-2016 06:53 PM - edited 03-09-2016 06:54 PM
What happens in the true case after the abort goes through the or gate?
edit: whoops wrong case
03-09-2016 07:24 PM - edited 03-09-2016 07:25 PM
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.
03-09-2016 08:16 PM
Another situation as to why this idea should have gotten more than 2 kudoes over the years before it was closed.