09-19-2022 12:02 PM
I am trying to add the attached VI into the message handling loop of a larger VI. It appears that despite a while loop around the VI within the message handling loop, I am locked out of the front panel on my main VI. I also took everything directly out of this VI, put it directly into a while loop inside the message handling loop and I was still unable to make it work.
Goals:
- Run after completing a previous message initiated sequence of events including clicking a button to end that sequence
- Run in a loop, allowing the user to click on pixels until the user clicks the end button
- Upon ending, the coordinates are pass out.
Any help is appreciated. I have not yet found a work around.
It appears that:
- either I record my last mouse click on the button to end my previous message initiated events
- time out occurs consistently in the while loop and a down click is never recognized
- everything passes through the "timeout" event and the program continues
- I am entirely locked out of everything on the front panel
09-19-2022 01:28 PM
Screenshot of the code inside the message handling loop. After waiting, the event loop immediately triggers a Boolean in the timeout event. This happens at the same time I am locked out of the front panel...