LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a drawing area in order to get a trajectory?

hello everyone
 
for the project that I'm working on, I need to control an XY stage.
 
In order to compute the trajectory of the stage, I have to make a drawing area where the operator would draw the trajectory. and then compute it and send it to the stage.
 
the question is:
 
how do I make a vector drawing area?
 
I thought: at each click of the mouse, the VI takes the mouse coordinate and store it. and so, I get the vectors (with a litte mathematics). and to set the speed, a text prompt opens to ask for the speed. and the VI store it in a *.txt file witch I can read with my XY stage.
 
big thx 2 U thanks for reading me so far. I hope you have answers or ideas for me.
 
CHKDSK
0 Kudos
Message 1 of 2
(2,141 Views)
Hello CHKDSK,

please open the example finder (Help/Find Examples) in Labview and search for mouse.
With the example Basic Input Demo you are able to read out the actual mouse position.
Use the right button boolean vaule to store the correct data.

Kind regards,

Elmar
0 Kudos
Message 2 of 2
(2,114 Views)