Richard,

Place an image control (I used the classic image control) on your FP and use the Event 
Structure to get the mouse move event.  This will return the coordinates of the mouse 
over the control.  However, it returns the coordinates relative to the FP rather than 
the image control.  Use the Image Position Property to subtract the difference.  Oh, 
and you have to hide the ROI tools and overlap the image over the control borders just 
right to get the position of the image correct.  I'll attach an example vi via private 
email.

Regards,
Guy Holland 
Intralase  Corp.


-----Original Message-----
From: Hill Richard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 2:18 AM
To: 'Info-LabVIEW'
Subject: [W] Vision x,y Image Information


Hi all,
        I think this question may have been raised recently, but I couldnt
find an answer....

I have Labview 7, Vision 7, using a new image display.  when I move the
mouse around in the image I see the x,y image coordinates change in the
image information indicator. Now, I'm want to try something really hard.....
I'd like to use those x,y values in my vi.  I hope I'm missing something
really obvious because I just cant find it.  I can get close by using "get
last event", but that only works when you do something like clicking on the
image and I need to continuously read the image co-ordinates.


On another note, thanks Tom for providing us with the list, I think it's a
great resource that should continue as is.


Thanks in advance,
        Richard Hill.


"This e-mail is intended for the recipient only.  If you are not the
intended recipient you must not use, disclose, distribute, copy, print,
or rely upon this e-mail. If an addressing or transmission error has
misdirected this e-mail, please notify the author by replying to this e-mail."

"Recipients should note that all e-mail traffic on MOD systems is
subject to monitoring and auditing."


Reply via email to