LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Buttons becomes unresponsive when event runs

Solved!
Go to solution

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.

0 Kudos
Message 1 of 5
(3,787 Views)
Solution
Accepted by jawadtld
If you edit the event you can see the option "Lock Front panel", if you uncheck that your FP will not be locked. But the wiser method is not to perform any operation inside the event structure.
-----

The best solution is the one you find it by yourself
Message 2 of 5
(3,782 Views)

Thanks a lot. It solved my problem.

0 Kudos
Message 3 of 5
(3,765 Views)

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.

Message 4 of 5
(3,756 Views)

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.

0 Kudos
Message 5 of 5
(3,719 Views)