LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Andrey_Dmitriev

Vision: Get Vision Display Events without Polling

Status: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.

Problem statement:

 

Right now the only way to get events from Vision Display (and from IMAQ Window) is polling. We should call method Get Last Event for Vision Display (or call SubVI IMAQ WindLastEvent for IMAQ Window) periodically:

 

Event-Soll.png

As result some events may skipped and in additional, I don't like to have polling loop in my application.

 

Suggestion 1:

 

Add another Method "Wait for Event" with Timeout:

 

Event-Soll.png

 

Suggestion 2:

 

Route events from Vision Display to the standard event structure, something like that:

 

Event-Soll2.png

 

Andrey.

3 Comments
X.
Trusted Enthusiast
Trusted Enthusiast

I understand the suggestion, but its justification is somewhat misleading. You can detect mouse events in an Image object and from there do the necessary filtering using Get Last Event:

 

ScreenHunter_003.jpg

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.

nanocyte
Active Participant

The existing mechanism is really counter intuitive. Have a virtual kudos.