02-14-2012 12:03 PM
Hello all !!
I think this is a very simple problem to solve, I tried to find the solution on the forum but ... . I work with Labview since 2 years and I think I made much progress after developing a complex program to control a nonlinear optical setup, but here I block!
To summarize, I have a problem with the possibility to exit from of a loop/while structure inside a event structure. The Stop button is never activated, while a timing function is used to wait the mouse down event in this button ...
Does anyone have any experience with this question ?
Thanks
D. Gindre
02-14-2012 01:34 PM
You've made a couple of fundamental mistakes. First, it's generally considered bad form to place a while loop inside an event. Considering that you did, your second mistake was not changing the default behavior of your Start event from "Lock front panel until this event case completes".
I would also suggest using the Value change event and placing your Booleans actually inside the event.