- Messages
- 1,468
- Country

Could someone have a look at this code and suggest what may be wrong.
With ground power on, the EFDAS fail lights are illuminated (correct). The test switch extinguishes them (correct). The switch is returned to it's original position the fail lights come on again (correct). Originally I used (A:GENERAL ENG1 GENERATOR ACTIVE,bool) 0 to extinguish the lights and it worked when it was in isolation. But now when the generator starts the lights stay on(incorrect). Your suggestions much appreciated.
vololiberista
With ground power on, the EFDAS fail lights are illuminated (correct). The test switch extinguishes them (correct). The switch is returned to it's original position the fail lights come on again (correct). Originally I used (A:GENERAL ENG1 GENERATOR ACTIVE,bool) 0 to extinguish the lights and it worked when it was in isolation. But now when the generator starts the lights stay on(incorrect). Your suggestions much appreciated.
vololiberista
Code:
<Gauge Name="EFDAS fail light" Version="1.0">
<Element>
<Select>
<Value> (L:efdas test,number) 1 == if{ 2 (A:GENERAL ENG1 GENERATOR ACTIVE,bool) 0 } els{ (A:GENERAL ENG1 GENERATOR ACTIVE,bool) 1 }</Value>
<Failures>
<SYSTEM_ELECTRICAL_PANELS Action="0"/>
</Failures>
<Case Value="0">
<Image Name="RED_OFF.bmp" Luminous="0" ImageSizes="12,12"/>
</Case>
<Case Value="1">
<Image Name="EFDAS1_ON.bmp" Bright="Yes" ImageSizes="12,12"/>
</Case>
</Select>
</Element>
<Mouse>
<Tooltip>EFDAS fail light</Tooltip>
</Mouse>
</Gauge>
