- Messages
- 37
- Country

So I looked at some examples on how to create the number strips. I am trying to do a display for HSI Distance using number strips.
But for some magical reason my number strip refuses to move.
I am not concerned about positioning of the strip or image masks right now, I just want the strip to move. I tried using both Scale and nonlinearity without success.
Here's my code that I've been trying to fix for a while. I can't spot what is wrong with it, so if anyone can help that would be great!
But for some magical reason my number strip refuses to move.
Here's my code that I've been trying to fix for a while. I can't spot what is wrong with it, so if anyone can help that would be great!
Code:
<Gauge Name="HSI Top" Version="1.0">
<Image Name="hsi_top.bmp"/>
<Element id="HSI Distance 100ths">
<FloatPosition>0.000,0.000</FloatPosition>
<Image id="number_strip.bmp" Name="number_strip.bmp">
<Axis X="0" Y="0"/>
</Image>
<Shift id="Shift">
<Scale>0.000,30.000</Scale>
<Expression id="Expression">
<Minimum>0.000</Minimum>
<Maximum>9.000</Maximum>
<Script>(A:HSI DISTANCE, Nautical Miles) 100 * flr</Script>
</Expression>
<NonlinearityTable id="NonlinearityTable">
<NonlinearityEntry id="NonlinearityEntry">
<ExpressionResult>0.000</ExpressionResult>
<FloatPosition>0.000,0.000</FloatPosition>
</NonlinearityEntry>
<NonlinearityEntry id="NonlinearityEntry">
<ExpressionResult>9.000</ExpressionResult>
<FloatPosition>0.000,270.000</FloatPosition>
</NonlinearityEntry>
</NonlinearityTable>
</Shift>
</Element>
<Mouse>
<Tooltip ID="HSI Distance Nautical Miles"/>
</Mouse>
</Gauge>

