euroastar350
Resource contributor
- Messages
- 863
- Country

Hi guys,
I am trying to recreate an annunciator light that warns when an engine has failed on an aircraft and cannot get it to work. Attached is the code I am using. Any help is appreciated.
I am trying to recreate an annunciator light that warns when an engine has failed on an aircraft and cannot get it to work. Attached is the code I am using. Any help is appreciated.
Code:
<Gauge Name="ann" Version="1.0">
<Element>
<Select>
<Value>(A:CIRCUIT GENERAL PANEL ON, bool) if{ (A:ENG1 FAILED,bool) (L:Lamp Test, bool) || } els{ 0 }</Value>
<Case Value="0">
<Image Name="ENG1_OUT_OFF.bmp"/>
</Case>
<Case Value="1">
<Image Name="ENG1_OUT.bmp"/>
</Case>
</Select>
<Failures>
<SYSTEM_ELECTRICAL_PANELS Action="1"/>
</Failures>
</Element>
</Gauge>



