LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ

Is there anybody how know's how to get the x and y coordinate when you click
on a image?
0 Kudos
Message 1 of 2
(2,789 Views)
Use the "IMAQ WindLastEvent" VI in a while loop to find out if a "Click
event" has occurred. If a click event occurs you can then use the "Imaq
WindZoom" VI with the "Get/Set Status? (Set)" set to F to get status. The
"Center Point" status coming from the "Imaq WindZoom" VI will then give you
the x and y coordinates that you are looking for.

Best Regards,

Neal Pederson, President, VI Control Systems
1923 Mendius Lane, Los Alamos, NM 87544
TEL: (505) 662-1461, FAX: (505) 662-7724
npedersn@vicsys.com, www.vicsys.com
0 Kudos
Message 2 of 2
(2,789 Views)