LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event Structure: Stop button within the While loop not to exit the case

Hi all,
 
I want to use the Stop button within the While loop in a single case in an Event structure that is used to run the While loop to stop the While loop but not to exit the case.   Once I put in the Stop button within the While loop the button doesn't respond anymore.  I appreciate any suggestions - thank you.
 
Cheers,
Carnot.
0 Kudos
Message 1 of 4
(3,406 Views)
You should post an example showing what the problem is. The event case will exit once all the code inside has executed. This is normal LV dataflow.

Lynn
0 Kudos
Message 2 of 4
(3,399 Views)
You should put the stop button inside the event structure.
George Zou
0 Kudos
Message 3 of 4
(3,394 Views)
Your description is very confusing, an example would clarify your point! What is inside what? What triggers the event?
 
Is the while loop really inside the event case??? If the while loop finishes AND there is nothing else left to do inside the same event case, the case WILL finish.
 
The stop button will only work if the case containing the while loop actually executes. Does it?
Message 4 of 4
(3,389 Views)