01-07-2016 11:33 PM
I have two independent while loops in a VI. One while loop have an event structure. Buttons becomes unresponsive when event runs. Is there any solution to overcome this.
Solved! Go to Solution.
01-07-2016 11:37 PM
01-08-2016 12:02 AM
Thanks a lot. It solved my problem.
01-08-2016 12:09 AM
Well, it solved the symptoms, but most likely the bigger problem is still present.
As has been mentioned, you should not run interactive or lenghty code inside event cases.
01-08-2016 03:23 AM
Thanks altenbach you are correct. But fortunately I have shorter code inside event class. It is for playing a sound. It becomes a problem only when the sound file size bigger (takes some time for loading sound file). Attaching snippet.