- Messages
- 111
- Country

Hi there,
I am working on a Caution Panel for a helicopter project and am stuck on some of the code...
1. Generator Lights are coded like this:
<Element id="No.1 Generator OFF">
<FloatPosition>60.000,30.000</FloatPosition>
<Visibility>(A:GENERAL ENG GENERATOR ACTIVE:1,bool) 0.5 > (A
ARTIAL PANEL ELECTRICAL,enum) ! and if{ 0 } els{ 1 }</Visibility>
<SizeScale>1.400</SizeScale>
<Image id="Caution_No1_Generator_ON.bmp" Name="Caution_No1_Generator_ON.bmp">
<Transparent>True</Transparent>
</Image>
</Element>
Basically they work fine, but, they maintain lit when the battery is switched off....
2. Hydraulic Pressure Lights are coded like this:
<Element id="Aux Servo Press">
<FloatPosition>170.000,245.000</FloatPosition>
<Visibility>(A:Engine HYDRAULIC PRESSURE,Pounds per square foot) 1008000 < (A
ARTIAL PANEL ELECTRICAL,enum) ! and if { 1 } els { 0 }</Visibility>
<SizeScale>1.400</SizeScale>
<Image id="Caution_Aux_Servo_Press_ON.bmp" Name="Caution_Aux_Servo_Press_ON.bmp">
<Transparent>True</Transparent>
</Image>
</Element>
They aren't doing anything
3. Fuel Low Lights are coded like this:
<Element id="FWD Fuel Low">
<FloatPosition>62.000,138.000</FloatPosition>
<Visibility> (A:Fuel Tank Right Main Quantity,gallons) 40 < (A
ARTIAL PANEL ELECTRICAL,enum) ! and if { 0 } els{ 1 }</Visibility>
<SizeScale>1.400</SizeScale>
<Image id="Caution_Fwd_Fuel_Low_ON.bmp" Name="Caution_Fwd_Fuel_Low_ON.bmp">
<Transparent>True</Transparent>
</Image>
</Element>
They also don't do nothing...
Any help would be highly appreciated.
I am working on a Caution Panel for a helicopter project and am stuck on some of the code...
1. Generator Lights are coded like this:
<Element id="No.1 Generator OFF">
<FloatPosition>60.000,30.000</FloatPosition>
<Visibility>(A:GENERAL ENG GENERATOR ACTIVE:1,bool) 0.5 > (A
<SizeScale>1.400</SizeScale>
<Image id="Caution_No1_Generator_ON.bmp" Name="Caution_No1_Generator_ON.bmp">
<Transparent>True</Transparent>
</Image>
</Element>
Basically they work fine, but, they maintain lit when the battery is switched off....
2. Hydraulic Pressure Lights are coded like this:
<Element id="Aux Servo Press">
<FloatPosition>170.000,245.000</FloatPosition>
<Visibility>(A:Engine HYDRAULIC PRESSURE,Pounds per square foot) 1008000 < (A
<SizeScale>1.400</SizeScale>
<Image id="Caution_Aux_Servo_Press_ON.bmp" Name="Caution_Aux_Servo_Press_ON.bmp">
<Transparent>True</Transparent>
</Image>
</Element>
They aren't doing anything
3. Fuel Low Lights are coded like this:
<Element id="FWD Fuel Low">
<FloatPosition>62.000,138.000</FloatPosition>
<Visibility> (A:Fuel Tank Right Main Quantity,gallons) 40 < (A
<SizeScale>1.400</SizeScale>
<Image id="Caution_Fwd_Fuel_Low_ON.bmp" Name="Caution_Fwd_Fuel_Low_ON.bmp">
<Transparent>True</Transparent>
</Image>
</Element>
They also don't do nothing...
Any help would be highly appreciated.

