- Messages
- 1,749
- Country

I can't turn off the light from the battery or the avionics........
Normally i can. i tried adding the avionics to the visible code and added another AND...... That usually works. But it's not. I figure it's because i am using BCO16 as the units.....
Please help me rewrite using only visibility or value. Or a mix....
This works perfect below with no battery or avionics control...
DG
Normally i can. i tried adding the avionics to the visible code and added another AND...... That usually works. But it's not. I figure it's because i am using BCO16 as the units.....
Please help me rewrite using only visibility or value. Or a mix....
This works perfect below with no battery or avionics control...
Code:
<Element>
<Visible>(L:POWER2, enum) (A:TRANSPONDER CODE:1, BCO16) 4608 == if{ 1 } els{ 0 } and</Visible>
<Position X="0" Y="0"/>
<Value>
(A:Electrical master battery, Bool) !
if { (A:ELECTRICAL AVIONICS BUS VOLTAGE, Bool) 23 > }
</Value>
<Failures>
<SYSTEM_ELECTRICAL_PANELS Action="0"/>
</Failures>
<Image Name="XPNDR_Test_light_On.bmp"/>
</Element>
DG
Last edited:

