cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Mouse position

How do you determine the mouse position dynamically?
0 kudos
Mensaje 1 de 14
14.293 Vistas

Could you please elaborate bit more.

Thanks,

Mathan

0 kudos
Mensaje 2 de 14
14.290 Vistas
In general, by using Mouse Move event.
Mensaje 3 de 14
14.276 Vistas

Use the VI's Mouse Move event if your LV version < 8.x, or the Pane's Mouse Move event if you have LV 8.x. Emoticono feliz

You ll get to see the Coordinates output in the event data node on the left border of teh Event Structure.

- Partha ( CLD until Oct 2027 🙂 )
Mensaje 4 de 14
14.258 Vistas
thanx guys i actually need my mouse position when i move it along my front panel.
0 kudos
Mensaje 5 de 14
14.240 Vistas

Hi muks,

you can also use the "GetCursorPos" function from the User32.dll.

Hope it helps.
Mike

Mensaje 6 de 14
14.238 Vistas
 you elaborate on that a lil bit mike?
0 kudos
Mensaje 7 de 14
14.236 Vistas
Hi muks,
this is the function to get the cursor position.
 
 
Mike


Message Edited by MikeS81 on 07-11-2008 08:41 AM
Mensaje 8 de 14
14.227 Vistas
As always u rock mike!!!!!!Robot loco
0 kudos
Mensaje 9 de 14
14.221 Vistas

LabVIEW has Input device VIs for those functions.
And especially the Mouse Input.



But when you want the know the position on the front panel I would go for FP events.

Ton

 
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Mensaje 10 de 14
14.220 Vistas