- Messages
- 18
- Country

Hi everyone:
I am trying to make a simple gauge in XML that, If NAV1 is an LOC o an ILS, OR If GPS is selected for NAV1, then automaticaly changes the OBS settings for NAV1 on the Autopilot for the ILS Course.
The ILS Course is get from the NAV1 LOCALIZER Variable.
Here is my code by now, It is not working and I don't know why:
Any Help will be much apreciated!!!
I am trying to make a simple gauge in XML that, If NAV1 is an LOC o an ILS, OR If GPS is selected for NAV1, then automaticaly changes the OBS settings for NAV1 on the Autopilot for the ILS Course.
The ILS Course is get from the NAV1 LOCALIZER Variable.
Here is my code by now, It is not working and I don't know why:
Code:
<Gauge Name="ILS GPS Course" Version="1.0">
<Value>(A:NAV1 HAS LOCALIZER, bool) (A:GPS DRIVES NAV1, bool) 1 || if{(A:NAV1 LOCALIZER, degree) (>NAV1 OBS,degree)}</value>
</Gauge>
Any Help will be much apreciated!!!


