LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make it to move

hey
here is a example that can draw 2 circles and 1 oval. I want to know how to make the second circle round with the first circle aloong oval.
 
thank you
fay
0 Kudos
Message 1 of 3
(2,596 Views)
The blue circle should be drawn as last element, using a loop. You just need to calculate the postion of the center. Quite easy if you use polar coordinates, since an ellipse equation is simply
x = a sin Alpha + xoffset
y = b cos Alpha + yoffset
where a and b are the semi-axis of the ellipse.
I have modified your vi accordingly. There is still some tunning to be done on the x and y offset, since the ellipse is not centered on the central circle.
 
Chilly Charly    (aka CC)
Message 2 of 3
(2,586 Views)
thank  you very much!
0 Kudos
Message 3 of 3
(2,571 Views)