- Messages
- 58
- Country

Hi,
Revisiting the "nearest pages" in my FMC i encountered a nasty fenomenon:
It doesn't work anymore; the gps-500 also refuses to do his/her job.
This happens:
Opening the page: no display.
Pause 5-10 seconds: the correct display.
Unpause: no update.
Reload: everything lost.
Pause etc..
What can be a cause??
This is the code:
and this the display:
Thanks
Revisiting the "nearest pages" in my FMC i encountered a nasty fenomenon:
It doesn't work anymore; the gps-500 also refuses to do his/her job.
This happens:
Opening the page: no display.
Pause 5-10 seconds: the correct display.
Unpause: no update.
Reload: everything lost.
Pause etc..
What can be a cause??
This is the code:
Code:
<Element>
<Select>
<Value>
(L:Nearest airport test reset,bool) !
if{
1 (>L:Nearest airport loop,bool)
-1 (>L:Nearest airport index,enum)
0 (>L:Nearest airport counter,enum)
10 (>L:Nearest airport cycles,enum)
1 (>L:Nearest airport test reset,bool)
}
8 (>@c:NearestAirportMaximumItems)
100 (>@c:NearestAirportMaximumDistance,NMiles)
(A:PLANE LATITUDE,degrees) (>@c:NearestAirportCurrentLatitude,degrees)
(A:PLANE LONGITUDE,degrees) (>@c:NearestAirportCurrentLongitude,degrees)
(L:Nearest airport counter,enum) 1 + (>L:Nearest airport counter,enum)
(L:Nearest airport counter,enum) (L:Nearest airport cycles,enum) >
if{
(L:Nearest airport loop,bool)
if{
(L:Nearest airport index,enum) 1 + (>L:Nearest airport index,enum)
(L:Nearest airport index,enum) (>@c:NearestAirportCurrentLine)
(@c:NearestAirportItemsNumber) 8 ==
if{
0 (>L:Nearest airport loop,bool)
}
}
}
</Value>
</Select>
</Element>
and this the display:
Code:
<Element>
<Visible>(@c:NearestAirportItemsNumber) 0 ></Visible>
<FormattedText X="265" Y="230" Bright="Yes" Font="arial" FontSize="14" Color="@color" LineSpacing="15" Tabs="15,25L,125R,140C,205R,265R" Adjust="left" VerticalAdjust="center">
<Font FontSize="15"/>
<Font FontSize="12"/>
<String>
\{lsp=50}
%((@c:NearestAirportItemsNumber) s2 0 !=)%{if}
%(0 sp1)
%{loop}%(l1 (>@c:NearestAirportCurrentLine))
%((@c:NearestAirportCurrentIdent))%!s!
\t%((@c:NearestAirportCurrentTrueBearing,degrees) (A:GPS MAGVAR,degrees) - d360)%!03d! °\{fnt2}M\{fnt}
\t
\t%((@c:NearestAirportCurrentDistance,nmiles))%!.1f! \{fnt2}NM\{fnt}
\t%((@c:NearestAirportCurrentDistance,nmiles) (A:GPS GROUND SPEED,knots) / 60 * flr 60 %)%!02d!:%((@c:NearestAirportCurrentDistance,nmiles) (A:GPS GROUND SPEED,knots) / 3600 * flr 60 %)%!02d!
\n
%(l1 ++ s1 l2 < d)%{if}%{end}\n%{next}%{end}
</String>
</FormattedText>
<Clip Top="50" Bottom="170" />
</Element>
Thanks

) so I learn something every day.