Jump to content
Sign in to follow this  
Guest gert1966

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

Recommended Posts

Guest gert1966

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

>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
Guest gert1966

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...