Sign in to follow this  
Guest gert1966

Question about (A:HSI GSI NEEDLE, ??? )

Recommended Posts

Is there someone who can help me out with this problem i have ? For my pfd i'm busy with the flight mode annunciations, but i cant get the armed modes to work.. here's the code : (A:AUTOPILOT APPROACH HOLD, bool) if{ (A:HSI GSI NEEDLE, number) 90.00 > (A:HSI GSI NEEDLE, number) -90.00 < && if{ 2 (>L:PATH_ARM_MODE, number) } els{ 0 (>L:PATH_ARM_MODE, number) } }Is this the way to get the values of the GSI needle ? or do I have to use another Unit ? I can't seem to find a suited unit for this variable.thanx in advance , regards, Gert Polkerman

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

>Is there someone who can help me out with this problem i have>? >For my pfd i'm busy with the flight mode annunciations, but i>cant get the armed modes to work.. here's the code : >>(A:AUTOPILOT APPROACH HOLD, bool) if{ > (A:HSI GSI NEEDLE, number) 90.00 > (A:HSI GSI NEEDLE,>number) -90.00 < && if{ > 2 (>L:PATH_ARM_MODE, number) >} els{ > 0 (>L:PATH_ARM_MODE, number) > } >}>This sentence (A:HSI GSI NEEDLE, number) 90.00 > (A:HSI GSI NEEDLE, number) -90.00 < && will never give TRUE, you must use (A:HSI GSI NEEDLE, number) 90.00 > (A:HSI GSI NEEDLE, number) -90.00 < or Range goes from -127 to 127.Tom

Share this post


Link to post
Share on other sites

Tom. Thanks i new there was something i overlooked but you are absolutely right, that wil never give true.regards Gert Polkerman

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this