- Messages
- 862
- Country

I'm doing an HSI gauge and I want to display the Nav1 or GPS ident depending on the position of the NAV/GPS switch. Sounds simple enough;
However, it doesn't display when I switch the Battery and Avionics on (L:Batt Av On). It does display after I've switched the NAV/GPS switch (either way).
I've overcome it with this;
so it's not a major problem. But why doesn't the first method work?
Code:
<!-- NAV1 /GPS Ident -->
<Element>
<Visible>(L:Batt Av On,Number) 0.5 ></Visible>
<Position X="20" Y="32"/>
<Text X="32" Y="16" Length="4" Font="Arial" Color="#00FF00" HorizontalAlign="LEFT" >
<String>%( (A:GPS DRIVES NAV1,Bool) )%{if}%( (A:GPS WP NEXT ID,String) )%!4s!%{else}%( (A:NAV IDENT:1,String) )%!4s!%{end}</String>
</Text>
</Element>
However, it doesn't display when I switch the Battery and Avionics on (L:Batt Av On). It does display after I've switched the NAV/GPS switch (either way).
I've overcome it with this;
Code:
<!-- NAV1 /GPS Ident -->
<Element>
<Position X="20" Y="32"/>
<Text X="32" Y="16" Length="4" Font="Arial" Color="#00FF00" HorizontalAlign="LEFT" >
<String>%( (L:Batt Av On,Number) 0.5 >)%{if}%( (A:GPS DRIVES NAV1,Bool) )%{if}%( (A:GPS WP NEXT ID,String) )%!4s!%{else}%( (A:NAV IDENT:1,String) )%!4s!%{end}</String>
</Text>
</Element>
so it's not a major problem. But why doesn't the first method work?
Last edited:




