[jhb] Gauge Help Needed

  • From: Gerry Winskill <gwinsk@xxxxxxx>
  • To: JHB Restricted <jhb@xxxxxxxxxxxxx>
  • Date: Wed, 28 Apr 2010 14:51:31 +0100

I'm using a Garmin unit in a bizjet, though it was intended for a propjet single. For the jet, it has the disadvantage of not showing mach numbers. So, I'm cobbling together a small supplementary gauge, intending to didplay theM number that's been dialed into the Autopilot with, below it, the current mach number achieved. The text is in but I've not managed either of the two vlaues.


Any advice appreciated. At present the gauge xml file reads:



 <?xml version="1.0"?>
 <Gauge Name="GW_MACH" Version="1.0">
 <Image Name="GW_WIND.bmp"/>







        <Element>
        <Position X="45" Y="15"/>
<Text X="260" Y="40" Length="40" Font="quartz" Color="#FF0000" VerticalAdjust="Center">
            <String>%SELECTED MACH SPEED %</String>
       </Text>
    </Element>

        <Element>
        <Position X="260" Y="15"/>
<Text X="260" Y="40" Length="40" Font="quartz" Color="#FFFF00" VerticalAdjust="Center">
            <String>%((A:AP_MACH_VAR_SET, percent))%!03d! </String>
       </Text>
    </Element>



        <Element>
        <Position X="45" Y="40"/>
<Text X="260" Y="40" Length="40" Font="quartz" Color="#00FF00" VerticalAdjust="Center">
            <String>%CURRENT MACH SPEED %</String>
       </Text>
    </Element>

        <Element>
        <Position X="260" Y="40"/>
<Text X="260" Y="40" Length="40" Font="quartz" Color="#FFFF00" VerticalAdjust="Center">
            <String>%((A:AIRSPEED MACH))%!03d! </String>
       </Text>
    </Element>



 </Gauge>         


The gauge appears OK but neither of the desired values appear, just a pair of 000 displays.



Gerry Winskill

Other related posts: