From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,787 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,787 Views)