- Messages
- 39
- Country

Hi everyone !
i develop some gauges for my panel aircraft and i encounter a problem.
The gauge is a tachometer with engine elapsed time. The tachometer is OK but the strips for elapsed time seems not working as it should...
the strip is a vertical image with digits from 0 to 0 including 1, 2,...0 is at the top and 9, then zero ten at the bottom.
the elapsed time would be something like 00253.34 (the dot won't appear...only image digit. The 4 first digit are black strips and the 2 last are white strips)
i use this portion of code for example for the last plain digit
<Element id="Element4">
<FloatPosition>0.000,0.000</FloatPosition>
<Image id="RPM_HM_Strip_b.bmp" Name="RPM_HM_Strip_b.bmp">
<Transparent>True</Transparent>
</Image>
<MaskImage id="rpm_mask.bmp" Name="rpm_mask.bmp">
<Axis>134.000,148.000</Axis>
</MaskImage>
<Shift id="Shift">
<Scale>0.000,1.000</Scale>
<Expression id="Expression">
<Minimum>0.000</Minimum>
<Maximum>10.000</Maximum>
<Script>(A:GENERAL ENG ELAPSED TIME:1, hours) 10 %</Script>
</Expression>
<FailureTable id="FailureTable">
<Failure id="Failure">
<Fail_Key>SYSTEM_ENGINE</Fail_Key>
</Failure>
</FailureTable>
<NonlinearityTable id="NonlinearityTable">
<NonlinearityEntry id="NonlinearityEntry">
<ExpressionResult>0.000</ExpressionResult>
<FloatPosition>0.000,0.000</FloatPosition>
</NonlinearityEntry>
<NonlinearityEntry id="NonlinearityEntry">
<ExpressionResult>10.000</ExpressionResult>
<FloatPosition>0.000,240.000</FloatPosition>
</NonlinearityEntry>
</NonlinearityTable>
</Shift>
</Element>
but if the value is different than 0 nothing appears...if the valur is zero everything is ok
any suggestion ? probably something i don't really understand in that code or something wrong i can't see...
Sorry for my poor english and Thank's for your help
i develop some gauges for my panel aircraft and i encounter a problem.
The gauge is a tachometer with engine elapsed time. The tachometer is OK but the strips for elapsed time seems not working as it should...
the strip is a vertical image with digits from 0 to 0 including 1, 2,...0 is at the top and 9, then zero ten at the bottom.
the elapsed time would be something like 00253.34 (the dot won't appear...only image digit. The 4 first digit are black strips and the 2 last are white strips)
i use this portion of code for example for the last plain digit
<Element id="Element4">
<FloatPosition>0.000,0.000</FloatPosition>
<Image id="RPM_HM_Strip_b.bmp" Name="RPM_HM_Strip_b.bmp">
<Transparent>True</Transparent>
</Image>
<MaskImage id="rpm_mask.bmp" Name="rpm_mask.bmp">
<Axis>134.000,148.000</Axis>
</MaskImage>
<Shift id="Shift">
<Scale>0.000,1.000</Scale>
<Expression id="Expression">
<Minimum>0.000</Minimum>
<Maximum>10.000</Maximum>
<Script>(A:GENERAL ENG ELAPSED TIME:1, hours) 10 %</Script>
</Expression>
<FailureTable id="FailureTable">
<Failure id="Failure">
<Fail_Key>SYSTEM_ENGINE</Fail_Key>
</Failure>
</FailureTable>
<NonlinearityTable id="NonlinearityTable">
<NonlinearityEntry id="NonlinearityEntry">
<ExpressionResult>0.000</ExpressionResult>
<FloatPosition>0.000,0.000</FloatPosition>
</NonlinearityEntry>
<NonlinearityEntry id="NonlinearityEntry">
<ExpressionResult>10.000</ExpressionResult>
<FloatPosition>0.000,240.000</FloatPosition>
</NonlinearityEntry>
</NonlinearityTable>
</Shift>
</Element>
but if the value is different than 0 nothing appears...if the valur is zero everything is ok
any suggestion ? probably something i don't really understand in that code or something wrong i can't see...
Sorry for my poor english and Thank's for your help


