LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ADI ball in Labview

Hi all,

I'm trying to make an ADI ball, showing pitch and roll of an aircraft in
Labview. This sounds easy enough, and so far it has been. I have 2 'Draw
Circle by Radius' VIs, and they draw the background and the foreground
of the ADI ball on a picture display.

I have managed to make the ball update from a roll digital control, but
I'm finding it very difficult to implement pitch, due to the Draw Circle
by Radius VIs not being able to draw with an offset centre.

I've thought of two solutions.... draw a rectangle as the background,
with a circle as a foreground, masking the rectangle (can picture
control use masks?). Or to write a new VI.

Anyone come across this before?

Thanks a lot!

Tom Taylor
0 Kudos
Message 1 of 3
(2,899 Views)
Hi,

What do you mean when you say the "Draw Circle by Radius VIs" don't have an
offset centre? You can provide the centre, so if you want an offset, you can
just add a cluster (with x and y value) to the centre, and that is the
offset.

Perhaps I misunderstand...

Regards,

Wiebe.

"Tom Taylor" wrote in message
news:hgLYb.167$UP3.91@newsfep1-gui.server.ntli.net...
> Hi all,
>
> I'm trying to make an ADI ball, showing pitch and roll of an aircraft in
> Labview. This sounds easy enough, and so far it has been. I have 2 'Draw
> Circle by Radius' VIs, and they draw the background and the foreground
> of the ADI ball on a picture display.
>
> I have managed to make the ball update from a roll digital control, but
> I'm finding
it very difficult to implement pitch, due to the Draw Circle
> by Radius VIs not being able to draw with an offset centre.
>
> I've thought of two solutions.... draw a rectangle as the background,
> with a circle as a foreground, masking the rectangle (can picture
> control use masks?). Or to write a new VI.
>
> Anyone come across this before?
>
> Thanks a lot!
>
> Tom Taylor
0 Kudos
Message 2 of 3
(2,899 Views)
I am not sure what you mean by Draw Circle
by Radius not being able to draw with an offset radius. It does have
a terminal for setting the center of the circle. Do you mean that you
are trying to draw ellipses? It might be helpful if you could post a
simplifed version of your code.
0 Kudos
Message 3 of 3
(2,899 Views)