n4gix
Resource contributor
- Messages
- 11,674
- Country

Gah! There aren't enough working variables in FS to support this indicator properly...
The early 737-xxx series has two rows of indicator lights showing the status of VOR/LOC and GS arm and capture. The left set is for the Flightdirector, the right set is for the Autopilot.
FD..........................AP
When tuned freq is localizer or VOR:
VOR/LOC............VOR/LOC
If glideslope is available:
GS.....................GS
FD..........................AP
If signal strength is reliable:
VOR/LOC............VOR/LOC
If signal strength is reliable and glideslope is available:
GS.....................GS
The biggest problem is that the "signal strength" for a tuned localizer is always 256 or 0. There is no "inbetween..."
The signal strength for a VOR however varies from 0 to >8000...
I have the GS set working fine, but the VOR/LOC set is driving me nuts!
The conditions required for the FD set is:
VOR/LOC
The problem is that the amber label never disappears... Can anyone spot my error?
The early 737-xxx series has two rows of indicator lights showing the status of VOR/LOC and GS arm and capture. The left set is for the Flightdirector, the right set is for the Autopilot.
FD..........................AP
When tuned freq is localizer or VOR:
VOR/LOC............VOR/LOC
If glideslope is available:
GS.....................GS
FD..........................AP
If signal strength is reliable:
VOR/LOC............VOR/LOC
If signal strength is reliable and glideslope is available:
GS.....................GS
The biggest problem is that the "signal strength" for a tuned localizer is always 256 or 0. There is no "inbetween..."
The signal strength for a VOR however varies from 0 to >8000...
I have the GS set working fine, but the VOR/LOC set is driving me nuts!
The conditions required for the FD set is:
VOR/LOC
Code:
(A:AUTOPILOT FLIGHT DIRECTOR ACTIVE,bool) 0 >
if{
<!-- TURN ON AMBER LABEL -->
@IsLoc
@IsVor
(A:NAV SIGNAL:1,enum) 1000 <
and
(A:NAV SIGNAL:1,enum) 0 !=
and
or
(L:B737_FD_VorLocAmber_Light, enum) !
and
if{ 1 (>L:B737_FD_VorLocAmber_Light, enum) }
<!-- TURN OFF AMBER LABEL -->
@IsLoc !
@IsVor !
and
(L:B737_FD_VorLocAmber_Light, enum)
and
(A:NAV SIGNAL:1,enum) 1000 >=
or
if{ 0 (>L:B737_FD_VorLocAmber_Light, enum) }
<!-- TURN ON GREEN LABEL -->
@IsLoc
@IsVor
(L:B737_FD_VorLocGreen_Light, enum) !
and
or
(A:NAV SIGNAL:1,enum) 1000 >
and
if{ 1 (>L:B737_FD_VorLocGreen_Light, enum) }
<!-- TURN OFF GREEN LABEL -->
@IsLoc !
@IsVor !
and
(L:B737_FD_VorLocGreen_Light, enum)
and
(A:NAV SIGNAL:1,enum) 0 ==
and
if{ 0 (>L:B737_FD_VorLocGreen_Light, enum) }
The problem is that the amber label never disappears... Can anyone spot my error?



