I like to display the runway direction and the wind as a vector using a graphic display like this...
How can I do this using a graphic display. It should work on PPC . Any Help , hints appreciated!
HW = Headwind
XW = cross wind
RWY = Runway direction
//
PROCEDURE xWind()
EDT_HW= EDT_WindSpeed*Cos(EDT_WindDir-EDT_RWY)
IF EDT_HW >-1 THEN
EDT_HW..Color=LightGreen
ELSE
EDT_HW..Color=LightRed
END
EDT_XW=EDT_WindSpeed*Sin(EDT_WindDir-EDT_RWY)
IF EDT_XW >-15 THEN
EDT_XW..Color=LightYellow
END
Thanks
Hans
Edited 1 time(s). Last edit at 06/15/2009 11:36AM by Hans60.