- Messages
- 210
- Country

Revisiting this gauge and the mach ring that is supposed to rotate in corelation to the actual mach number. The airspeed part works fine, but the mach ring does not match the correct value. Am I off in the variable, or do I need to look at the rotation values?
Thanks for any help,
Greg
Code:
<Gauge Name="airspeed" Version="1.0">
<Image Name="airspeed.bmp" Luminous="Yes"/>
<Element>
<Position X="115" Y="115"/>
<Image Name="airspeed_needle.bmp" Luminous="Yes" PointsTo="East">
<Axis X="13" Y="13"/>
</Image>
<Rotate>
<Value Minimum="0" Maximum="400">(A:Airspeed indicated,knots)</Value>
<Failures>
<SYSTEM_PITOT_STATIC Action="0"/>
<GAUGE_AIRSPEED Action="Freeze"/>
</Failures>
<Nonlinearity>
<Item Value="0" X="112" Y="29"/>
<Item Value="80" X="142" Y="36"/>
<Item Value="180" X="146" Y="161"/>
<Item Value="200" X="130" Y="166"/>
<Item Value="400" X="60" Y="118"/>
</Nonlinearity>
<Delay DegreesPerSecond="180"/>
</Rotate>
</Element>
<Element>
<Position X="0" Y="-2"/>
<MaskImage Name="airspeed_mask.bmp">
<Axis X="115" Y="115"/>
</MaskImage>
<Image Name="airspeed_mach.bmp" Luminous="Yes" PointsTo="East">
<Axis X="115" Y="115"/>
</Image>
<Rotate>
<Value>(A:Indicated altitude,feet) 1000 /</Value>
<Failures>
<SYSTEM_PITOT_STATIC Action="0"/>
<GAUGE_AIRSPEED Action="Freeze"/>
</Failures>
<Nonlinearity>
<Item Value="45" Degrees="-369"/>
<Item Value="39" Degrees="-310"/>
<Item Value="33" Degrees="-251"/>
<Item Value="29" Degrees="-214"/>
<Item Value="24" Degrees="-177"/>
<Item Value="18" Degrees="-157"/>
<Item Value="14" Degrees="-140"/>
<Item Value="10" Degrees="-115"/>
<Item Value="0" Degrees="-78"/>
</Nonlinearity>
<Delay DegreesPerSecond="180"/>
</Rotate>
Thanks for any help,
Greg




