12-18-2024 12:38 PM
I have created a dynamic event to detect if any control on the front panel changes values. This works, but locks the front panel after the first time it fires. Under the right-click menu of the Register for Events call, there is an option selected to "Lock Panel Until Handler Completes". If I uncheck this, the event works as expected.
What is LabVIEW waiting for when the Lock Panel option is selected? I am worried I am filling up some queue of 'unhandled events' by unchecking this option as a workaround.
LV2019 example attached, or screenshoted below.
Thanks!
Solved! Go to Solution.
12-18-2024 01:02 PM
Right now, you're registering for events every single loop. You should only be doing this once at the start, outside the loop.
12-18-2024 01:25 PM
That did the trick, thanks!
12-18-2024 01:27 PM
Also, forgot to mention, but if this becomes a subVI (i.e. part of a larger program and might run more than once before LabVIEW closes and cleans up everything in memory) then you will also need a "Unregister For Events" node on the other side of the While loop running after it concludes.