05-28-2021 02:13 AM - edited 05-28-2021 02:26 AM
Hey, I’m new to LabVIEW and still get stuck and rather simple Problems…
I have a subVi that needs some time to process. While this time I want to block all user inputs.
My first guess was I simply can disable and re-enable my Front panel.
My problem is: I trigger my sub VI by an Event Structure and if I disable within the same event, I get the visual update on the front panel but the order in which clicks get processed result in they still fire after my event re-enabled the GUI.
What would be a clean approach to block the GUI while my event gets processed?
Do I have to do some clunky logic to manually prevent double firing of events?
Edit: I found the "Limit maximum instances of this event in event queue" but this dosn't helps mit other events.
Edit Edit: Seems like it does help ..., I guess I asked a bit too quickly. Sadly I can't delete this question.
Solved! Go to Solution.
05-28-2021 02:21 AM
Are you aware of the "Lock Panel" setting on Events? It defers User actions, but does not disable them. By default it is on, and it would result in the behaviour you describe.
05-28-2021 09:25 AM
If it takes some time it can also be a good idea to use Set Cursor to show the occupied icon while it's working.