Fuel Shutoff Warning Light question

Lionheart

SOH-CM-2014
Hey guys,


I am making a very simple gauge that shows fuel shutoff is on.

But I cannot seem to get it to work. Just wondering if anyone might know what I am doing wrong.

This is a simple light, simple 2D gauge, in FS9 XML code.

Code:
  <Element>
    <Select>
      <Value>(A:FUEL TANK SELECTOR, enum) =0</Value>
       <Failures>
          <SYSTEM_ELECTRICAL_PANELS Action="0"/>
       <Case Value="0">
         <Image Name="FuelLightWarningOn.bmp" UseTransparency="Yes"/>
       </Case>
       </Failures>
       <Case Value="1">
         <Image Name="FuelLightWarningOn.bmp" Bright="Yes" UseTransparency="Yes"/>
       </Case>
    </Select>
  </Element>




Many thanks,



Bill
LHC
 
Hey Bill,

Sorry...been sidetracked by the race and didn't get to ya.

Were you by chance trying to watch the fuel shutoff valve instead of the tank selector?
If so I'm assuming you found the "general engineX fuel valve" tokens. which are 1=open 0=closed

Otherwise, the tank selectors need a total case possiblities of 0-18...or an IF/ELSE statement if you're just watching one particular case.
In the code you've got listed, you've only got two case values covered (0 and 1).

Either way, glad ya got it going!
 
Back
Top