• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Cannot get Approach to work

Messages
10,163
Country
us-arizona
Hey all,

Everything is working nicely in my AP except 'Approach'. For some reason, it has quit working since installing a AP Master Switch and de-linking the systems. They are now 'regular' style rigging (linked to commands through a hidden gauge which reads switch L:var positions). That aside, everything works fine 'except' APP mode.

I have combed through the AP code ALL day yesterday. Nothing could be found to be wrong. Nothing is asked to turn things off just because of this. (I did have 'turn this off if you turn on that thing, etc, but its all written out now). And still, with a pure, clean, basic system, it still will not function.

I am now looking at other possibilities. I tried this in FSX thinking maybe the update to P3D wiped out the ILS. Wouldnt function in FSX either. The Aircraft config hasnt been tampered with.

This is the 'update' code block that manages the Approach mode system.

Code:
<!-- Approach Mode Hold -->

           (L:LJ24B APPROACH HOLD SWITCH, bool) 1 ==
           (A:AUTOPILOT MASTER,bool) 1 == and
                if{ (&gt;K:AP_APR_HOLD) }

           (L:LJ24B APPROACH HOLD SWITCH, bool) 0 ==
           (A:AUTOPILOT APPROACH HOLD,bool) 0 == or
               if{ (&gt;K:AP_APR_HOLD_OFF) }


This is my AP section;

[autopilot]
autopilot_available= 1
flight_director_available= 0
default_vertical_speed= 1700.0
autothrottle_available= 1
autothrottle_arming_required= 0
autothrottle_max_rpm = 105
autothrottle_takeoff_ga= 0
pitch_takeoff_ga = 8;
max_pitch=10.0
max_pitch_acceleration=1.0
max_pitch_velocity_lo_alt=2.5
max_pitch_velocity_hi_alt=1.5
max_pitch_velocity_lo_alt_breakpoint=20000.0
max_pitch_velocity_hi_alt_breakpoint=28000.0
max_bank=25
max_bank_acceleration=1.8
max_bank_velocity=3.00
max_throttle_rate=0.10
nav_proportional_control=11.00
nav_integrator_control=0.20
nav_derivative_control=0.00
nav_integrator_boundary=2.50
nav_derivative_boundary=0.00
gs_proportional_control=9.52
gs_integrator_control=0.26
gs_derivative_control=0.00
gs_integrator_boundary=0.70
gs_derivative_boundary=0.00
yaw_damper_gain = 1.0
yaw_slip_control_gain=0.000000
yaw_control_uses_trim=0.000000


Any idea's as to what could be causing an Approach system to 'not' work?

When in Approach mode, I have the CRS to the right deg, the Freq is correct, APP is on, AP is on, and have tried it with NAV both on and off. Controls are locked straight ahead.
 
Just looked at my Autopilot cfg and it is exaclty the same except for the Flight_director_available=1...

Not an XML expert, but should there be spaces before the bools?

(A:AUTOPILOT MASTER, bool) 1 == and

(A:AUTOPILOT APPROACH HOLD, bool) 0 == or


Greg
 
What happens if (&gt;K:AP_APR_HOLD) is changed to (&gt;K:AP_APR_HOLD_ON) ?

Bob
 
Greg, those spaces are there on my end on the actual code. The web must have collapsed those spaces.

Just found out the NAV system is non-functioning, so that is the issue. If NAV is offline, then it cannot see the ILS beam/freq.


This is my code for that, but it was the same as before. So dang odd...

Code:
           (L:LJ24B NAV LOCK HOLD SWITCH, bool) 1 ==
           (A:AUTOPILOT MASTER,bool) 1 == and
                if{ (&gt;K:AP_NAV1_HOLD_ON) }

           (L:LJ24B NAV LOCK HOLD SWITCH, bool) 0 ==
           (A:AUTOPILOT MASTER,bool) 0 == or
                if{ (&gt;K:AP_NAV1_HOLD_OFF) }
 
Well.. . Im at wits end on this. :(

This is my AP management invisible gauge. Should all be working right. I did find some code that didnt have 'checks' in it and fixed those (if A: auto pilot thing is off, ) 'and' to ensure that was right and not causing command flooding or bursts.

So odd. The controls lock up; no up down in the yoke when just the AP only is on.

Code:
<Gauge Name="Autopilot_Manager" Version="1.1">
  <Size X="5" Y="5" />

  <Update Hidden="Yes">

<!-- Autopilot Engage -->

<!-- /////////////////////////////////////////////////////////////// CONTAINMENT
      (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 1 ==
      (A:AUTOPILOT MASTER,bool) 0 == and
                    if{ (>K:AUTOPILOT_ON) }

           (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 0 ==
           (A:AUTOPILOT MASTER,bool) 1 == and
                    if{ (>K:AUTOPILOT_OFF) }
///////////////////////////////////////////////////////////////////// CONTAINMENT -->

      (L:AUTOPILOT INITIALIZER ALPHA,bool) 0 ==
      (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 1 ==
      (A:AUTOPILOT MASTER,bool) 0 == and
          if{ (L:LF24B INVERTER SECONDARY BOOL, bool) 1 ==
              (L:LF24B INVERTER PRIMARY BOOL, bool) 1 == or
              (A:Electrical Master Battery, bool) 1 == and
                 if{ (>K:AUTOPILOT_ON)
                   1 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool)
                } }

           (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 0 ==
                 (L:LF24B INVERTER SECONDARY BOOL, bool) 0 == or
                 (L:LF24B INVERTER PRIMARY BOOL, bool) 0 == or
                 (A:Electrical Master Battery, bool) 0 == or
                    if{ (>K:AUTOPILOT_OFF)
                      0 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool) }

<!-- Altitude Hold -->

           (L:LJ24B ALTITUDE HOLD SWITCH, bool) 1 ==
           (A:Autopilot Altitude Lock,bool) 0 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
                if{ (&gt;K:AP_ALT_HOLD_ON) } }

           (L:LJ24B ALTITUDE HOLD SWITCH, bool) 0 ==
               if{ (&gt;K:AP_ALT_HOLD_OFF) }

<!-- Heading Hold -->

           (L:LJ24B HEADING HOLD SWITCH, bool) 1 ==
           (A:AUTOPILOT HEADING LOCK,bool) 0 == and
              if{ (A:AUTOPILOT MASTER,bool) 1 ==
                if{ (&gt;K:AP_HDG_HOLD_ON) } }

           (L:LJ24B HEADING HOLD SWITCH, bool) 0 ==
           (A:AUTOPILOT HEADING LOCK,bool) 1 == and
               if{ (&gt;K:AP_HDG_HOLD_OFF) }

<!-- Pitch Hold-->

           (L:LJ24B PITCH HOLD SWITCH, bool) 1 ==
           (A:AUTOPILOT ATTITUDE HOLD,bool) 0 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
                if{ (&gt;K:AP_ATT_HOLD_ON) }

           (L:LJ24B PITCH HOLD SWITCH, bool) 0 ==
           (A:AUTOPILOT ATTITUDE HOLD,bool) 1 == and
               if{ (&gt;K:AP_ATT_HOLD_OFF) }

<!-- Reverse Course -->

           (L:LJ24B REV COURSE HOLD SWITCH, bool) 1 ==
           (A:AUTOPILOT BACKCOURSE HOLD,bool) 0 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
                if{ (&gt;K:AP_BC_HOLD) }

           (L:LJ24B REV COURSE HOLD SWITCH, bool) 0 ==
           (A:AUTOPILOT BACKCOURSE HOLD,bool) 1 == and
              if{ (&gt;K:AP_BC_HOLD) }


<!-- NAV Lock Hold -->

           (L:LJ24B NAV LOCK HOLD SWITCH, bool) 1 ==
           (A:AUTOPILOT MASTER,bool) 1 == and
           (A:AUTOPILOT NAV1 LOCK,bool) 0 == and
                if{ (&gt;K:AP_NAV1_HOLD_ON) }

           (L:LJ24B NAV LOCK HOLD SWITCH, bool) 0 ==
           (A:AUTOPILOT MASTER,bool) 0 == or
                if{ (&gt;K:AP_NAV1_HOLD_OFF) }

<!-- Approach Mode Hold -->

           (L:LJ24B APPROACH HOLD SWITCH, bool) 1 ==
           (A:AUTOPILOT APPROACH HOLD,bool) 0 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
                if{ (&gt;K:AP_APR_HOLD_ON) }

           (L:LJ24B APPROACH HOLD SWITCH, bool) 0 ==
           (A:AUTOPILOT APPROACH HOLD,bool) 1 == and
           (A:AUTOPILOT APPROACH HOLD,bool) 0 == or
               if{ (&gt;K:AP_APR_HOLD_OFF) }

<!-- Yaw Controls -->

           (L:LJ24B YAW DISENGAGE SWITCH, bool) 1 ==
           (A:AUTOPILOT YAW DAMPER,bool) 0 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
             if{ (&gt;K:YAW_DAMPER_ON) }

           (L:LJ24B YAW DISENGAGE SWITCH, bool) 0 ==
           (A:AUTOPILOT YAW DAMPER,bool) 1 == and
           (A:AUTOPILOT MASTER,bool) 0 == or
             if{ (&gt;K:YAW_DAMPER_OFF) }


   </Update>   

<!-- /////////////////////////////////////////////////////////////////////

      (L:AUTOPILOT INITIALIZER ALPHA,bool) 0 ==
      (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 1 == and
      (A:AUTOPILOT MASTER,bool) 0 == and
      (A:Electrical Master Battery, bool) 1 == and
                if{ (L:LF24B INVERTER SECONDARY BOOL, bool) 1 ==
                    (L:LF24B INVERTER PRIMARY BOOL, bool) 1 == or
                    if{ (>K:AUTOPILOT_ON)
                      1 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool)
                  } }

           (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 0 ==
           (A:Electrical Master Battery, bool) 1 == or
           (L:LF24B INVERTER SECONDARY BOOL, bool) 0 == or
           (L:LF24B INVERTER PRIMARY BOOL, bool) 0 == or
                    if{ (>K:AUTOPILOT_OFF)
                      0 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool) }

/////////////////////////////////////////////////////////////////////////// -->

<!-- ////////////////////////////////////////////////////////////// DISCONNECTED
      (L:AUTOPILOT INITIALIZER ALPHA,bool) 0 ==
      (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 1 ==
      (A:AUTOPILOT MASTER,bool) 0 == and
                    if{ (>K:AUTOPILOT_ON)
                      1 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool)
                  }

           (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 0 ==
                    if{ (>K:AUTOPILOT_OFF)
                      0 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool) }
/////////////////////////////////////////////////////////////////// DISCONNECTED -->

</Gauge>

I included the 'commented out' sections to show my experiments to get this working (some of the changes).
 
Well, I just installed Dougs 'Key Events' diagnostics gauge. Something is turning things off. sigh......


Time= 1.813453 id= 255 event= KEY_AUTOPILOT_OFF evdata= 1
Time= 1.813470 id= 280 event= KEY_AP_ALT_HOLD_OFF evdata= 0
Time= 1.813507 id= 283 event= KEY_AP_NAV1_HOLD_OFF evdata= 0
Time= 1.813538 id= 278 event= KEY_AP_APR_HOLD_OFF evdata= 0
Time= 1.813553 id= 534 event= KEY_YAW_DAMPER_OFF evdata= 0
Time= 1.813574 id= 524 event= KEY_LANDING_LIGHTS_OFF evdata= 0
Time= 1.813584 id= 514 event= KEY_SMOKE_OFF evdata= 12
Time= 1.813606 id= 514 event= KEY_SMOKE_OFF evdata= 13
Time= 1.813628 id= 513 event= KEY_SMOKE_ON evdata= 3


Over and over and over again. 419 L:vars. Which one is doing this? ACK!!!
 
I got it. :D

I found that it actually needed Initializers in each set of AP department blocks of code, not just the main AP Master, but each section of the AP system as it is a shadow control system that reads L:var switch positions. Everything needed their own initializer. Then, I had to add secondary initializers for the different issues that can shut them down (special shut-down codes for Inverter issues).

Whewwwwwwwwwwwwwwwwwwwwwwwwww!!!! One day lost to this. Thank you JESUS that I got through this. Fixed the mass command flooding issues with the AP system.

I am going to post my AP code. ITs alot of writing... I still need to road test this and hope I do not find more issues. Running AP via remote was not the funnest thing in the world. :S

Code:
<Gauge Name="Autopilot_Manager" Version="1.1">
  <Size X="5" Y="5" />

  <Update Hidden="Yes">

<!-- Autopilot Engage -->

      (L:AUTOPILOT INITIALIZER ALPHA,bool) 0 ==
      (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 1 ==
      (A:AUTOPILOT MASTER,bool) 0 == and
          if{ (L:LF24B INVERTER SECONDARY BOOL, bool) 1 ==
              (L:LF24B INVERTER PRIMARY BOOL, bool) 1 == or
              (A:Electrical Master Battery, bool) 1 == and
                 if{ (>K:AUTOPILOT_ON)
                   1 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool) } }

       (L:AUTOPILOT INITIALIZER ALPHA,bool) 1 ==
       (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 0 == and
       (A:AUTOPILOT MASTER,bool) 1 == and
                    if{ (>K:AUTOPILOT_OFF)
                      0 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool) }

       (L:AUTOPILOT INVERTER SHUTDOWN ALPHA,bool) 0 ==
       (L:LF24B INVERTER SECONDARY BOOL, bool) 0 == and
       (L:LF24B INVERTER PRIMARY BOOL, bool) 0 == and
       (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 1 == and
                    if{ (>K:AUTOPILOT_OFF)
                      1 (&gt;L:AUTOPILOT INVERTER SHUTDOWN ALPHA,bool) }

       (L:AUTOPILOT INVERTER SHUTDOWN ALPHA,bool) 1 ==
       (L:LF24B INVERTER SECONDARY BOOL, bool) 1 == and
       (L:LF24B INVERTER PRIMARY BOOL, bool) 1 == and
                    if{ 0 (&gt;L:AUTOPILOT INVERTER SHUTDOWN ALPHA,bool) }


<!-- Altitude Hold -->

           (L:LJ24B_AP_ALT_INIT_BRAVO,bool) 0 ==
           (L:LJ24B ALTITUDE HOLD SWITCH, bool) 1 == and
           (A:Autopilot Altitude Lock,bool) 0 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
                           if{ (&gt;K:AP_ALT_HOLD_ON)
                             1 (&gt;L:LJ24B_AP_ALT_INIT_BRAVO,bool) }

           (L:LJ24B ALTITUDE HOLD SWITCH, bool) 0 ==
           (L:LJ24B_AP_ALT_INIT_BRAVO,bool) 1 == and
           (A:Autopilot Altitude Lock,bool) 1 == and
               if{ (&gt;K:AP_ALT_HOLD_OFF)
                 0 (&gt;L:LJ24B_AP_ALT_INIT_BRAVO,bool) }

           (L:LJ24B_AP_ALT_INIT_BRAVO,bool) 1 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
           (A:Autopilot Altitude Lock,bool) 1 == and
               if{ (&gt;K:AP_ALT_HOLD_OFF)
                 0 (&gt;L:LJ24B_AP_ALT_INIT_BRAVO,bool) }

<!-- Heading Hold -->

           (L:LJ24B_AP_HDG_INIT_BRAVO,bool) 0 ==
           (L:LJ24B HEADING HOLD SWITCH, bool) 1 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
           (A:AUTOPILOT HEADING LOCK,bool) 0 == and
                if{ (&gt;K:AP_HDG_HOLD_ON)
                  1 (&gt;L:LJ24B_AP_HDG_INIT_BRAVO,bool) }

           (L:LJ24B_AP_HDG_INIT_BRAVO,bool) 1 ==
           (L:LJ24B HEADING HOLD SWITCH, bool) 0 == and
           (A:AUTOPILOT HEADING LOCK,bool) 1 == and
               if{ (&gt;K:AP_HDG_HOLD_OFF)
                 0 (&gt;L:LJ24B_AP_HDG_INIT_BRAVO,bool) }

           (L:LJ24B_AP_HDG_INIT_BRAVO,bool) 1 ==
           (A:AUTOPILOT MASTER,bool) 0 == and
           (A:AUTOPILOT HEADING LOCK,bool) 1 == and
               if{ (&gt;K:AP_HDG_HOLD_OFF)
                 0 (&gt;L:LJ24B_AP_HDG_INIT_BRAVO,bool) }


<!-- Pitch Hold-->

           (L:LJ24B_AP_VS_INIT_BRAVO,bool) 0 ==
           (L:LJ24B PITCH HOLD SWITCH, bool) 1 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
           (A:AUTOPILOT ATTITUDE HOLD,bool) 0 == and
                if{ (&gt;K:AP_ATT_HOLD_ON)
                  1 (&gt;L:LJ24B_VS_ALT_INIT_BRAVO,bool) }

           (L:LJ24B_AP_VS_INIT_BRAVO,bool) 1 ==
           (L:LJ24B PITCH HOLD SWITCH, bool) 0 == and
           (A:AUTOPILOT ATTITUDE HOLD,bool) 1 == and
               if{ (&gt;K:AP_ATT_HOLD_OFF)
                 0 (&gt;L:LJ24B_VS_ALT_INIT_BRAVO,bool) }

           (L:LJ24B_AP_VS_INIT_BRAVO,bool) 1 ==
           (A:AUTOPILOT ATTITUDE HOLD,bool) 1 == and
           (A:AUTOPILOT MASTER,bool) 0 == and
               if{ (&gt;K:AP_ATT_HOLD_OFF)
                 0 (&gt;L:LJ24B_VS_ALT_INIT_BRAVO,bool) }


<!-- Reverse Course -->

           (L:LJ24B_AP_BC_INIT_BRAVO,bool) 0 ==
           (L:LJ24B REV COURSE HOLD SWITCH, bool) 1 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
           (A:AUTOPILOT BACKCOURSE HOLD,bool) 0 == and
                if{ (&gt;K:AP_BC_HOLD)
                  1 (&gt;L:LJ24B_AP_BC_INIT_BRAVO,bool) }

           (L:LJ24B_AP_BC_INIT_BRAVO,bool) 1 ==
           (L:LJ24B REV COURSE HOLD SWITCH, bool) 0 == and
           (A:AUTOPILOT BACKCOURSE HOLD,bool) 1 == and
              if{ (&gt;K:AP_BC_HOLD)
                0 (&gt;L:LJ24B_AP_BC_INIT_BRAVO,bool) }

           (L:LJ24B_AP_BC_INIT_BRAVO,bool) 1 ==
           (A:AUTOPILOT BACKCOURSE HOLD,bool) 1 == and
           (A:AUTOPILOT MASTER,bool) 0 == and
              if{ (&gt;K:AP_BC_HOLD)
                0 (&gt;L:LJ24B_AP_BC_INIT_BRAVO,bool) }


<!-- NAV Lock Hold -->

           (L:LJ24B_AP_NAV_INIT_BRAVO,bool) 0 ==
           (L:LJ24B NAV LOCK HOLD SWITCH, bool) 1 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
           (A:AUTOPILOT NAV1 LOCK,bool) 0 == and
                if{ (&gt;K:AP_NAV1_HOLD_ON)
                  1 (&gt;L:LJ24B_AP_NAV_INIT_BRAVO,bool) }

           (L:LJ24B_AP_NAV_INIT_BRAVO,bool) 1 ==
           (L:LJ24B NAV LOCK HOLD SWITCH, bool) 0 == and
                if{ (&gt;K:AP_NAV1_HOLD_OFF)
                  0 (&gt;L:LJ24B_AP_NAV_INIT_BRAVO,bool) }

           (L:LJ24B_AP_NAV_INIT_BRAVO,bool) 1 ==
           (A:AUTOPILOT MASTER,bool) 0 == and
           (L:LJ24B NAV LOCK HOLD SWITCH, bool) 1 == and
                if{ (&gt;K:AP_NAV1_HOLD_OFF)
                  0 (&gt;L:LJ24B_AP_NAV_INIT_BRAVO,bool) }


<!-- Approach Mode Hold -->

           (L:LJ24B_AP_APP_INIT_BRAVO,bool) 0 ==
           (L:LJ24B APPROACH HOLD SWITCH, bool) 1 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
           (A:AUTOPILOT APPROACH HOLD,bool) 0 == and
                if{ (&gt;K:AP_APR_HOLD_ON) 
                  1 (&gt;L:LJ24B_AP_APP_INIT_BRAVO,bool) }

           (L:LJ24B_AP_APP_INIT_BRAVO,bool) 1 ==
           (L:LJ24B APPROACH HOLD SWITCH, bool) 0 == and
           (A:AUTOPILOT APPROACH HOLD,bool) 1 == and
               if{ (&gt;K:AP_APR_HOLD_OFF)
                 0 (&gt;L:LJ24B_AP_APP_INIT_BRAVO,bool) }

           (L:LJ24B_AP_APP_INIT_BRAVO,bool) 1 ==
           (A:AUTOPILOT MASTER,bool) 0 == and
           (A:AUTOPILOT APPROACH HOLD,bool) 1 == and
               if{ (&gt;K:AP_APR_HOLD_OFF)
                 0 (&gt;L:LJ24B_AP_APP_INIT_BRAVO,bool) }

<!-- Yaw Controls -->

           (L:LJ24B_AP_YAW_INIT_BRAVO,bool) 0 ==
           (L:LJ24B YAW ENGAGE SWITCH, bool) 1 == and
           (A:AUTOPILOT MASTER,bool) 1 == and
           (A:AUTOPILOT YAW DAMPER,bool) 0 == and
             if{ (&gt;K:YAW_DAMPER_ON)
               1 (&gt;L:LJ24B_AP_YAW_INIT_BRAVO,bool) }

           (L:LJ24B_AP_YAW_INIT_BRAVO,bool) 1 ==
           (L:LJ24B YAW ENGAGE SWITCH, bool) 0 == and
           (A:AUTOPILOT YAW DAMPER,bool) 1 == and
             if{ (&gt;K:YAW_DAMPER_OFF)
               0 (&gt;L:LJ24B_AP_YAW_INIT_BRAVO,bool) }

           (L:LJ24B_AP_YAW_INIT_BRAVO,bool) 1 ==
           (A:AUTOPILOT MASTER,bool) 0 == and
           (A:AUTOPILOT YAW DAMPER,bool) 1 == and
             if{ (&gt;K:YAW_DAMPER_OFF)
               0 (&gt;L:LJ24B_AP_YAW_INIT_BRAVO,bool) }


   </Update>   

<!-- /////////////////////////////////////////////////////////////////////

      (L:AUTOPILOT INITIALIZER ALPHA,bool) 0 ==
      (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 1 == and
      (A:AUTOPILOT MASTER,bool) 0 == and
      (A:Electrical Master Battery, bool) 1 == and
                if{ (L:LF24B INVERTER SECONDARY BOOL, bool) 1 ==
                    (L:LF24B INVERTER PRIMARY BOOL, bool) 1 == or
                    if{ (>K:AUTOPILOT_ON)
                      1 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool)
                  } }

           (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 0 ==
           (A:Electrical Master Battery, bool) 1 == or
           (L:LF24B INVERTER SECONDARY BOOL, bool) 0 == or
           (L:LF24B INVERTER PRIMARY BOOL, bool) 0 == or
                    if{ (>K:AUTOPILOT_OFF)
                      0 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool) }

/////////////////////////////////////////////////////////////////////////// -->

<!-- ////////////////////////////////////////////////////////////// DISCONNECTED
      (L:AUTOPILOT INITIALIZER ALPHA,bool) 0 ==
      (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 1 ==
      (A:AUTOPILOT MASTER,bool) 0 == and
                    if{ (>K:AUTOPILOT_ON)
                      1 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool)
                  }

           (L:LJ24B AUTOPILOT ENGAGE SWITCH, bool) 0 ==
                    if{ (>K:AUTOPILOT_OFF)
                      0 (&gt;L:AUTOPILOT INITIALIZER ALPHA,bool) }
/////////////////////////////////////////////////////////////////// DISCONNECTED -->



</Gauge>


Thanks to Doug Dawson for his Event Logger program. Really helped tremendously.
 
Back
Top