LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Possibitlity to record mouse position from CVI?

Hei,

IN CVI I want to draw a waveform with the mouse.
So is there a possibility to get the mouse position, while a user draws a waveform via his mouse?


thanks
Martin
0 Kudos
Message 1 of 3
(3,182 Views)
Hi,

you can try these two commands.

GetGlobalMouseState ();
GetRelativeMouseState ();

Hope this helps.

Cheers
AL
0 Kudos
Message 2 of 3
(3,179 Views)
Look at the sample program that ships with CVI: ...\CVI\samples\userint\canvas.prj. It shows how to draw freehand on a canvas as well as create shapes.
0 Kudos
Message 3 of 3
(3,174 Views)