Jump to content

Recommended Posts

Posted

Good morning

Google translation

happy new year 2024

I don't know how to write the syntax

FBW A32NX

I want two conditions to be met to validate a function

example :
(L:A32NX_LGCIU_1_NOSE_GEAR_DOWNLOCKED)·0·!=·if
AND
(B:LIGHTING_LANDING_1_Set)·2·!=·if

{ 0 (>B:LIGHTING_LANDING_1_Set)} els{ 2 (>B:LIGHTING_LANDING_1_Set)}

What would be the syntax

THANKS

  • Commercial Member
Posted

(L:A32NX_LGCIU_1_NOSE_GEAR_DOWNLOCKED)·0·!=·(B:LIGHTING_LANDING_1_Set)·2·!= and·if{ 0 (>B:LIGHTING_LANDING_1_Set) } els{ 2 (>B:LIGHTING_LANDING_1_Set) }

LORBY-SI

Posted

thanks for putting me on the right track

My goal is that TO switches automatically, when gear down in approch

here is the correct syntax, I don't know if it's in the rules of the art or if we can do better

(SPLIT:13000)
(L:A32NX_LGCIU_1_NOSE_GEAR_DOWNLOCKED,·Number)·0·>·(B:LIGHTING_LANDING_1_Set)·3·<·and·if{·0·(>B:LIGHTING_LANDING_1_Set)·}·els{·2·(>B:LIGHTING_LANDING_1_Set)·}
 

  • Commercial Member
Posted (edited)
4 minutes ago, ptimale said:

automatically

In that case look into the LISTEN_FOR_RPN script header and/or the [..] syntax. 
Or even better, check out the CONVERSATION feature, a special form of script file in AAO.

Edited by Lorby_SI

LORBY-SI

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
  • 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...