04-28-2022 03:48 PM
Hello Everyone,
attatcthed you can see a VI, which gets the click position on an image in pixels.
I hope the question makes sense: at the moment, any click on the image gets me new position (even if use the loop to zoom in or zoom out i get a new positon). I want to get the position by using only the arrow for example and not the other tools (see screenshot)
does anyone know how to do that? 🙂
Thanks in advance!
04-28-2022 07:19 PM
there is 2 positions you can get from IMAQ picture control, on is the mouse pointer relative in the front panel, the other is the position of the pixel you click on. not sure which position you are trying to get, can you elaborate?
perhaps if this is posted in Vision can get more help
04-28-2022 07:27 PM
Thanks for your reply 🙂
Im trying to get the pixel position when i click on the image But only when using the ROI tool: Selection.
I keep getting the pixel position no matter which tool im using, for example: if i want to use the zoom tool, i dont want to register the pixel positions while im zooming.
I hope i could express myself 🙂
04-28-2022 07:46 PM - edited 04-28-2022 07:53 PM
using event structure, mouse down & image control property node(ROI tool) to case structure
04-29-2022 12:13 AM
*Current ROI Tool