Parameter for Autopilot Off?

Hey guys,

AUTOPILOT MASTER states a 'flag' of AP on / off. If I wish a BMP to be 'on' when AP is off, I would need to write it to say 'off' or 'not visible' when AP is on, thus when 'on' the BMP is off or not visible.


How on Earth do I write this. I know I have seen it before but cannot remember where the gauge code is.


Many thanks for dealing with this ole developer... :eek:


Bill
 

n4gix

Resource contributor
AUTOPILOT MASTER On/off flag Bool

It's a binary choice:

0 = off
1 = on

Lifted and modified from your very own Garmin 1000... :D
Code:
        <Element>
            <Position X="215" Y="204"/>
            <Select>
               <Value>(A:AUTOPILOT MASTER, bool)</Value>
               <Case Value="0">
                  <Image Name="AP Off.bmp" Bright="Yes"/>
               </Case>
               <Case Value="1">
                  <Image Name="AP On.bmp" 
            </Select>
         </Element>
 
Top