Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

trigger event on mouse click over image window

How can I use an event structure to pick up on a mouse click on an IMAQ window in Labview. Specifically, I want to pick up a click with the 'select point' tool.
0 Kudos
Message 1 of 3
(3,418 Views)
You could use IMAQ WindLastEvent - looking in the examples that are provided with IMAQ Vision you will find the how-to-use of this function in the 'Histogram Example' and 'Region of Interest Example' ...

Hope that helps.
0 Kudos
Message 2 of 3
(3,418 Views)
To work in a Winddraw window, will not want to use the Event Structure, but instead the WindLastEvent. This will allow you to capture the events that occur in the Winddraw window. Attached are two examples, one I wrote using events so users can set up ROI's and the other is using events in LabVIEW with a picture control on the front panel so user can select an ROI.
I hope this helps!
Chris D
Ni Application Engineer
0 Kudos
Message 3 of 3
(3,418 Views)