Adam,

I dropped one of the new vision displays on my front panel, and could
add an event for that control called "Mouse move" that returns
coordinates.  Is this what you are looking for?  I think it returns
front panel coordinates instead of image coordinates.

You might need to do a little math to convert front panel coordinates to
image coordinates.  You will need to figure out the image coordinates of
0,0 on the front panel image display.  You might run into trouble when
zooming and windowing also.  Using the zoom value and image center info,
it should still be possible to do the conversion.

It sure would be nice if those image coordinates were an easily
available output.

The way I solved this in LV 6 is that I forced the user to click on the
image whenever they wanted an update, and used "Get last event" to get
the image coordinates of the click.  You could probably do the same
thing with the invoke node for "Get last event".

Bruce

------------------------------------------
Bruce Ammons
Ammons Engineering
www.ammonsengineering.com
(810) 687-4288 Phone
(810) 687-6202 Fax



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 8:30 AM
To: Info-LabVIEW Mailing List
Subject: absence of IMAQ vision mouse move event?


IMAQ vision users,

Does anyone know if a mouse move event for an image control that returns
image coordinates exists? I am trying to continuously display
coordinates remapped from pixels (x,y) to celestial coordinates. This
event is critical.  The tools palette and the image info display in 7.0
both show continuously updated image information, but the ability to
detect this event isn't available.

Adam Crain

________________________________________________________________

This message was sent using UNC Physics' Webmail
http://webmail.physics.unc.edu



Reply via email to