LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Drawing a dinamic arrow over a picture

Hello,

I show a picture (actually an aerial photo) on my front panel and the system operator has to click once to set one point on the image and click a second time to set the second point of the set. When he clicks the first point, I want him to see an arrow that starts on the clicked point and goes to the mouse cursor, changing dinamically as the operator moves the mouse.

I guess there're no express tools for this in LV. My idea was to have a second picture (painted with T color) on top of the one that has my image so I can draw and empty (refresh) it dinamically with the mouse movement without affecting my image.

Any comments or suggestions?

Thanks,

Marce
0 Kudos
Message 1 of 3
(2,838 Views)
I wrote you a program to illustrate how to do it. Quite useful. I plan to add some more functionality for some mapping features.

aartjan
Message 2 of 3
(2,835 Views)
Code above was made with Labview 7.1
Message 3 of 3
(2,833 Views)