Jump to content

Recommended Posts

Posted

I have my own homebuilt cockpit and would like to send a specific X-Plane dataref command from MobiFlight to set the fuel tank position to either the left or right tank.

I can see the commands below to increment or decrement the tank selector but this does not allow me to confidently select a fixed position.

afm/sr/cmd/fuel/selLeft
afm/sr/cmd/fuel/selRight

It only rotates the selector to the left or right from the current position. The only way I can think of using these commands is to e.g. send 3x left commands and then 1 right command to ensure the left tank is selected. This cycles the selector through all possible left positions (including off) then increments it by one right position to select the right tank. I'm not even sure MobiFlight can send multiple commands like this.

Is there a dataref command to just select left or right tank?

Thank you.

Posted

afm/sr/switches/fuelSelector is a dataref you can set to authoritatively set the fuel selector. 

  • -1 = Off (left side)
  • 0 = Left
  • 1 = Right
  • 2 = Off (right side)
  • Like 1
  • 4 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...