LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stop execution of a loop in an event structure

Solved!
Go to solution

I tried searching the forums to avoid posting a duplicate, but most I could not open most of the vi's as they were higher version.

I put in a dummy while loop in an event structire i intend to use. Once I start executing the while loop, I am not able to stop it using a control for some reason from the fornt panel control.

 

I am not able to change the vale of the Stop control at all. I tried creating a seperate event for STOP, and I still could not stop the program when the While loop was executing.

 

I imagine I am missing something really small. I would appreciate your feedback on this.

 

Thanks,

Nevil

 

0 Kudos
Message 1 of 3
(2,932 Views)
Solution
Accepted by topic author nevil

Right click on the event structure and choose "Edit Events" for the case that is giving you trouble.

 

Be sure the checkbox to lock the front panel is unchecked.

 

I suspect yours is checked, so your front panel is locked out until the event completes, thus you can never stop your loop.

 

 

events.JPG

0 Kudos
Message 2 of 3
(2,921 Views)
awesome. that fixed it!
0 Kudos
Message 3 of 3
(2,913 Views)