From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Overlay Line

Solved!
Go to solution

Hi everyone,

 

I created a circle, and every time you press a button next, I overlay a different line on the circle,  I want when you push the button, that a new line appear (that works fine) but i need the previous line dissappear every time you push the button, so there is one line at the time. How can you remove the previous line when the next line appear?

 

Best regards,

Henk

0 Kudos
Message 1 of 7
(3,154 Views)

Please explain how you are drawing circle and doing overlay. If possible please attach the code (in 2011 version) for a better solution.

-----

The best solution is the one you find it by yourself
Message 2 of 7
(3,131 Views)

I use LV 2010, see this topic to see how i did it:

http://forums.ni.com/t5/LabVIEW/Fit-a-line-into-a-circle-based-on-centrepoint-and-angle-in/m-p/30583...

I put the start and end point into IMAQ overlay line,

 

Tnx,

Henk

 

0 Kudos
Message 3 of 7
(3,125 Views)

Is that enough information?

0 Kudos
Message 4 of 7
(3,066 Views)
Solution
Accepted by topic author henk_kempen
Did you try using IMAQ Clear Ovelay?before redrawing new ovelay.
Thanks
uday
Message 5 of 7
(3,052 Views)

I did not, but I should have:), tnx  a lot, I am ashamedSmiley Embarassed

0 Kudos
Message 6 of 7
(3,047 Views)
No problem, we all are not born with intelligence...there is nothing to be ashamed 🙂
Thanks
uday
0 Kudos
Message 7 of 7
(3,044 Views)