Sign in to follow this  
Virtual Captain

Single Engine Fuel Selector

Recommended Posts

Hi,I am trying to make an xml gauge that will allow me to select the order in which the tanks are consumed. I know that there are several threads regarding this topic; however, they all seem to deal with multiple engine aircraft in which one tank feeds the left engine and another tank feeds the right engine. Since I am dealing with a single engine aircraft I want to do the opposite; 2 tanks to feed 1 engine. The setup is simple:A fuel selector switch with 3 positions (up/mid/down), the choices are:1) TIP (Left&Right TIP Tanks)2) OFF (Center Tank)3) PYLON (Left&Right AUX Tanks)The order of burn is PYLON->TIPS->CENTERSo for example: If I have the switch in the PYLON (down) position I want the engine to consume both left and right Pylon (aux) tanks only. The problem is I can only get one of the AUX tanks to feed the engine at a given time rather than both simultaneously. I have even tried using 2 selectors in my click event (one for left and one for right tank) to try to get the engine to consume both tanks without any luck.My question is: Is the type of setup that I outlined above possible or am I wasting my time? Any help or info is appreciated.Regards,Anastasio

Share this post


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

Hi, It is possible albeit with a drawback, only 1 tank on per time. PMDG 737 works in this fashion.Gauge structure:-Bitmaps-Oscillator-Oscillator/Switch position -> Tank select-Click spot(s) / switch positionThe following gauge is not tested and is open for mods, but should give a good idea on how it works. Basically if the center is not selected it will alternate at regular intervals (0.5 second) to switch between the Left and Right tanks depending on switch position. (L:FUEL_SW, number)(L:Oscillator, bool) ! (>L:Oscillator, bool)(L:FUEL_SW, number) 2 == if{ 6 (>K:FUEL_SELECTOR_SET) }(L:FUEL_SW, number) 0 == (L:Oscillator, bool) 1 == & if{ 4 (>K:FUEL_SELECTOR_SET) }(L:FUEL_SW, number) 0 == (L:Oscillator, bool) 0 == & if{ 5 (>K:FUEL_SELECTOR_SET) }(L:FUEL_SW, number) 1 == (L:Oscillator, bool) 1 == & if{ 11 (>K:FUEL_SELECTOR_SET) }(L:FUEL_SW, number) 1 == (L:Oscillator, bool) 0 == & if{ 12 (>K:FUEL_SELECTOR_SET) }1 (>L:FUEL_SW, number)2 (>L:FUEL_SW, number)0 (>L:FUEL_SW, number)Hope this may help.Regards,Roman(KGRB)

Share this post


Link to post
Share on other sites

Roman,Thanks for taking the time to post that; I appreciate it. That definately looks like its going to work...I am going to try it out later today.Best Regards,Anastasio

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