Gan Uesli Starling Posted July 26, 2013 Report Posted July 26, 2013 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. Quote
Ton Plomp Posted July 26, 2013 Report Posted July 26, 2013 You can use the Mouse Input VIs like this: Ton Quote
Gan Uesli Starling Posted July 26, 2013 Author Report Posted July 26, 2013 Thank you both! I shall try them out on the weekend. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.