I went to the trouble of programming the mapping of the screen coordinates to image coordinates, and it works pretty well. I would offer this to everybody, but...
I was not aware of the IMAQ WindGetMouse function. I checked, and it still exists in the same place for Vision 7, and it DOES work with the new image display. The Window Number output is garbage (to me), but the X and Y coordinates match the vision display exactly. Just put it in an event for a mouse move on the image display. Thanks Tim for the extra piece of info I needed to figure it out. 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 Timothy Fallon Sent: Thursday, January 22, 2004 10:00 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: absence of IMAQ vision mouse move event? Hi Adam, I think the old IMAQ WindGetMouse (on my system it's at C:\Program Files\National Instruments\LabVIEW 6.1\vi.lib\Vision\Compatibility.llb\IMAQ WindGetMouse) is what you're looking for. Unfortunately, I can't find the equivalent of this vi in the vision7 world. As far as I can tell, Bruce's idea of using mouse move event coordinates and adjusting properly is the only way to go. I'd be interested in what you find as I may be looking for the same thing shortly. -Tim Timothy Fallon Senior Software Developer Image Therm Engineering Sudbury, MA ---------------------------------- >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
