Jump to content

Mouse X & Y Values - How to get them?

Recommended Posts

Can someone example a VI for obtaining the current X & Y screen position in pixels for the mouse?


This is for a little widget I'd like to make to assist me in judging sizes of objects from a photograph. I'm going with LabVIEW instead of Perl, etc, just to save myself from having to mess with writing a GUI. So the idea would be this, In a photograph I know the size of one item and want to derive the approximate size of others by comparing their relative lengths (ignoring parallax) and just doing the trig.


I have that working already but only in combination with GIMP while eyeball reading and manually punching in each separate X & Y, which is a pain. By contrast I could do it in Perl, but then I'd have to write a GUI, which in Perl I've not done for years.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.