Jump to content
Sign in to follow this  
Guest

RE: fuel tank selector

Recommended Posts

Guest

Hi all again,My airplane has three tanks of fuel (left, central and right) and for my panel I want to make three independent switches that control if one of those tanks is activated or not. Each switch can have only two positions, on or off, so that if it is on, that tank will give combustible and not if it is off, but working independently of the other two tanks. I have attempted it with (A:Fuel tank selector 1,enum), but this is a enumerated variable I don't know how to program the two only positions that it should admit each switch.Thanks for your ideas,RafaelAHS5466

Share this post


Link to post
Share on other sites
Guest bartels

Try <Value> lines for <Select> statements like these:<Value>(A:Fuel tank selector 1,enum) 2 ==</Value>(left tank)<Value>(A:Fuel tank selector 1,enum) 6 ==</Value>(center tank?)<Value>(A:Fuel tank selector 1,enum) 3 ==</Value>(right tank?)I'm not sure abou the exact enum values.Arne BartelsP.S. if all switches should be on, if ALL is selected try:<Value>(A:Fuel tank selector 1,enum) d 2 == r 1 == ||</Value><Value>(A:Fuel tank selector 1,enum) d 6 == r 1 == ||</Value><Value>(A:Fuel tank selector 1,enum) d 3 == r 1 == ||</Value>

Share this post


Link to post
Share on other sites
Guest

Arne, Thank you for your help.I'll try itRafael

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