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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

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