- Messages
- 7
- Country

Hi Guys
So for my first project I wanted to convert the miniPanel's altimeter into a gauge that would real Millibars instead if Inches of Mercury.
Where I live we use Millibars, I could find a gauge that would show both, but not a gauge that would only do the one.
Everything is working great, all good readouts are relatively corretc for this stage of teh gauge design.
No I dont now anything about C++ and very little of XML, Now here is my problem.
In order for fuel calcs to be easy, I have set the international setting f FS9 to be Metrc with teh altimeter to show as feet. Best emulating RW here in South Africa.
No tooltips are whats getting me down at this stage.
What I would like to do is as follows.
Mouse over the gauge to show altimeter reading in Feet
Mouse over the Kohlman Knob to show the QNH readinng
Is this at all possible?
Here is teh code that I am using so far:
I have been adjusting, staring myself into oblivion. Each time I use a different tooltip spec either teh gauge then disapears in FS or something else completely wierd happens
All help really welcome
So for my first project I wanted to convert the miniPanel's altimeter into a gauge that would real Millibars instead if Inches of Mercury.
Where I live we use Millibars, I could find a gauge that would show both, but not a gauge that would only do the one.
Everything is working great, all good readouts are relatively corretc for this stage of teh gauge design.
No I dont now anything about C++ and very little of XML, Now here is my problem.
In order for fuel calcs to be easy, I have set the international setting f FS9 to be Metrc with teh altimeter to show as feet. Best emulating RW here in South Africa.
No tooltips are whats getting me down at this stage.
What I would like to do is as follows.
Mouse over the gauge to show altimeter reading in Feet
Mouse over the Kohlman Knob to show the QNH readinng
Is this at all possible?

Here is teh code that I am using so far:
Code:
<Gauge Name="Altimeter" Version="1.0">
<Image Name="Altimeter_Background.bmp"/>
<Element>
<Position X="111" Y="67"/>
<MaskImage Name="Altimeter_Mask.bmp">
<Axis X="0" Y="11"/>
</MaskImage>
<Image Name="Altimeter_Strip.bmp">
<Nonlinearity>
<Item Value="953" X="0" Y="12"/>
<Item Value="1062" X="0" Y="419"/>
</Nonlinearity>
</Image>
<Shift>
<Value Minimum="953" Maximum="1062">(A:Kohlsman setting mb,mBar)</Value>
</Shift>
</Element>
<Element>
<Position X="81" Y="77"/>
<Image Name="Altimeter_Needle_10000.bmp">
<Axis X="31" Y="31" PointsTo="East"/>
</Image>
<Rotate>
<Value>(P:Units of measure, enum) 2 == if{ (A:Indicated Altitude, meters) } els{ (A:Indicated Altitude, feet) } 10000 /</Value>
<Failures>
<GAUGE_ALTIMETER Action="Freeze"/>
<SYSTEM_PITOT_STATIC Action="Freeze"/>
</Failures>
<Nonlinearity>
<Item Value="0" X="81" Y="15"/>
<Item Value="5" X="81" Y="138"/>
</Nonlinearity>
</Rotate>
</Element>
<Element>
<Position X="81" Y="77"/>
<Image Name="Altimeter_Needle_1000.bmp">
<Axis X="5" Y="5" PointsTo="East"/>
</Image>
<Rotate>
<Value>(P:Units of measure, enum) 2 == if{ (A:Indicated Altitude, meters) } els{ (A:Indicated Altitude, feet) } 1000 /</Value>
<Failures>
<GAUGE_ALTIMETER Action="Freeze"/>
<SYSTEM_PITOT_STATIC Action="Freeze"/>
</Failures>
<Nonlinearity>
<Item Value="0" X="81" Y="15"/>
<Item Value="5" X="81" Y="138"/>
</Nonlinearity>
</Rotate>
</Element>
<Element>
<Position X="81" Y="77"/>
<Image Name="Altimeter_Needle_100.bmp">
<Axis X="5" Y="5" PointsTo="East"/>
</Image>
<Rotate>
<Value>(P:Units of measure, enum) 2 == if{ (A:Indicated Altitude, meters) } els{ (A:Indicated Altitude, feet) } 100 /</Value>
<Failures>
<GAUGE_ALTIMETER Action="Freeze"/>
<SYSTEM_PITOT_STATIC Action="Freeze"/>
</Failures>
<Nonlinearity>
<Item Value="0" X="81" Y="15"/>
<Item Value="5" X="81" Y="138"/>
</Nonlinearity>
</Rotate>
</Element>
<Element>
<Position X="26" Y="136"/>
<Image Name="Altimeter_Knob.bmp">
<Axis X="13" Y="13"/>
</Image>
<Rotate>
<Value Minimum="953" Maximum="1062">(A:Kohlsman setting hg,inHg)</Value>
<Nonlinearity>
<Item Value="953" Degrees="0"/>
<Item Value="1062" Degrees="720"/>
</Nonlinearity>
</Rotate>
</Element>
<Mouse>
<Help ID="HELPID_GAUGE_ALTIMETER"/>
<Tooltip ID="TOOLTIPTEXT_ALTIMETER_FEET" EnglishID="TOOLTIPTEXT_ALTIMETER_FEET" MetricID="TOOLTIPTEXT_ALTIMETER_METERS"/>
<Area Left="13" Right="39" Top="124" Bottom="150">
<Help ID="HELPID_GAUGE_KOHLSMAN_KNOB"/>
<Tooltip ID="TOOLTIPTEXT_ALTIMETER_KOHLSMAN_MBAR" MetricID="TOOLTIPTEXT_ALTIMETER_KOHLSMAN_MBAR"/>
<Area Right="13">
<Cursor Type="DownArrow"/>
<Click Event="KOHLSMAN_DEC" Repeat="Yes"/>
</Area>
<Area Left="13">
<Cursor Type="UpArrow"/>
<Click Event="KOHLSMAN_INC" Repeat="Yes"/>
</Area>
</Area>
</Mouse>
</Gauge>
I have been adjusting, staring myself into oblivion. Each time I use a different tooltip spec either teh gauge then disapears in FS or something else completely wierd happens
All help really welcome


