For PMDG 737 NGXu support the SPAD.neXt Beta 0.9.7 is needed.
An updated LVAR bridge setup with Prepar3d v5 support is available at https://www.spadnext.com/download/SPAD. ... .Setup.zip

Using Fuel Low in the BIP panel

General Discussions
Locked
Clutch Cargo
Flight Attendant
Posts: 23
Joined: 20 Apr 2016, 06:13
Status: Offline

Using Fuel Low in the BIP panel

Post by Clutch Cargo » 04 Dec 2019, 00:12

I am beginning to set up my BIP which is going quite nicely after finding a few profiles I could learn from. The one that has my head scratching is getting my Low Fuel indicator to work. Now I am sure this would be a setting that is different per aircraft type but I think if I could just find something to start with I could advance from there.

My thinking is if fuel dropped below a certain percentage I could start with that? Does anyone have out here a Condition I could use to test with and what would be a value I could start (not sure even how I would list the value).

In the meantime I am enjoying all my Saitek/Logiteck panels. :P

User avatar
c0nnex
Site Admin
Posts: 5097
Joined: 10 Mar 2015, 21:52
Location: Munich, Germany
Contact:
Status: Offline

Re: Using Fuel Low in the BIP panel

Post by c0nnex » 04 Dec 2019, 12:57

First of all which sim?
I assume FSX/P3D. There are some Fuel low snippets online, but here's a start:
Checks the currently selected fuel tank. (Click on the "Select all", Press Ctrl-C, and in SPAD.neXt press the little down arrow next to "Edit Event" and select Paste on a free BIP Plate)

Code: Select all

<BaseEvent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" BoundTo="BIP_1_1" xmlns="http://www.fsgs.com/SPAD">
  <EventDefinitions>
    <EventDefinition Trigger="VALUE" IsFinal="true" Priority="10">
      <EventConditions>
        <EventCondition ConditionComparator="Less" ConditionTargetValue="10" ConditionValueSource="SIMCONNECT:FUEL SELECTED QUANTITY PERCENT" />
      </EventConditions>
      <EventActions>
        <EventActionPlateColor Color="RED" />
      </EventActions>
    </EventDefinition>
    <EventDefinition Trigger="VALUE" IsFinal="true" Priority="9">
      <EventConditions>
        <EventCondition ConditionComparator="Less" ConditionTargetValue="15" ConditionValueSource="SIMCONNECT:FUEL SELECTED QUANTITY PERCENT" />
      </EventConditions>
      <EventActions>
        <EventActionPlateColor Color="YELLOW" />
      </EventActions>
    </EventDefinition>
    <EventDefinition Trigger="VALUE">
      <EventConditions>
        <EventCondition ConditionComparator="GreaterOrEqual" ConditionTargetValue="15" ConditionValueSource="SIMCONNECT:FUEL SELECTED QUANTITY PERCENT" />
      </EventConditions>
      <EventActions>
        <EventActionPlateColor Color="OFF" />
      </EventActions>
    </EventDefinition>
  </EventDefinitions>
  <Options>
    <Option Key="NAME" Value="Fuel low" />
  </Options>
</BaseEvent>
< 15% yellow
< 10% Red
else off

Clutch Cargo
Flight Attendant
Posts: 23
Joined: 20 Apr 2016, 06:13
Status: Offline

Re: Using Fuel Low in the BIP panel

Post by Clutch Cargo » 04 Dec 2019, 18:05

Thanks for such a quick reply. Yes this is for P3D (and FSX). I was not aware one could insert code so I look forward to trying this out. Many thanks!

Clutch Cargo
Flight Attendant
Posts: 23
Joined: 20 Apr 2016, 06:13
Status: Offline

Re: Using Fuel Low in the BIP panel

Post by Clutch Cargo » 05 Dec 2019, 21:49

Just a little update to say the code worked real nice. I just had to change the Values from 15 and 10 to 0.15 and 0.10. :D

Locked