Thanks to all for helping me piece this together. I'm now using the move move event for the image control to trigger a WindGetMouse function and it works very well. Now I can display scaled values and custom coordinates. Very happy, thank you.
J Adam Crain UNC-CH Dept Physics and Astronomy Bruce Ammons <[EMAIL PROTECTED]> said: > 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 its at C:\Program > Files\National Instruments\LabVIEW > 6.1\vi.lib\Vision\Compatibility.llb\IMAQ WindGetMouse) is what youre > looking for. Unfortunately, I cant find the equivalent of this vi in > the vision7 world. As far as I can tell, Bruces idea of using mouse > move event coordinates and adjusting properly is the only way to go. Id > 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 isnt available. > > > >Adam Crain > > > -- ________________________________________________________________ This message was sent using UNC Physics' Webmail http://webmail.physics.unc.edu
