- Messages
- 10,163
- Country

Hey all,
I am trying to get a blinky-light and alarm to sound when overspeed occurs. For some reason, it will not work.
This is the code for the blinky....
Note this also had (A:OVERSPEED WARNING,bool) and did nothing.
Also, the blinky refuses to 'not blink' which is odd as I use this on many codes and it works fine, but in this case, when you boot into the flight, its already blinking...
This is the Alarm sound code, hidden gauge.
And note that I 'did' have this in there,
(A:OVERSPEED WARNING,bool) which did nothing...
I am trying to get a blinky-light and alarm to sound when overspeed occurs. For some reason, it will not work.
This is the code for the blinky....
Code:
<!-- ** Over Speed ** -->
<Element>
<Position X="601" Y="5"/>
<Visible>
(A:Electrical Master Battery, bool) 1 == if{
(A:AIRSPEED INDICATED,knots) 340 > }
</Visible>
<Image Name="Annun_Over_Speed" ImageSizes="60,38">
</Image>
</Element>
Note this also had (A:OVERSPEED WARNING,bool) and did nothing.
Also, the blinky refuses to 'not blink' which is odd as I use this on many codes and it works fine, but in this case, when you boot into the flight, its already blinking...
This is the Alarm sound code, hidden gauge.
Code:
<!-- OVERSPEED WARNING ALARM -->
(A:Electrical Master Battery, bool) 1 ==
if{ (A:AIRSPEED INDICATED,knots) 340 >
if{ 2 (>L:XMLSND167,enum) }
els{ 3 (>L:XMLSND167,enum) } }
And note that I 'did' have this in there,
(A:OVERSPEED WARNING,bool) which did nothing...


