In the simplified test code segment below, the displayed value is 0. However, if I replace (L:CrossWindVel, knots) in the GaugeString line with a 3, I get a reasonable non-zero value displayed. So it seems using the update section to put the value of 3 into the L:CrossWindVel Lvar as a test case is not working for some reason. I have tried everything I can think of without success. What am I missing?
Thx,
Al
Thx,
Al
Code:
<Update>
3(>L:CrossWindVel, knots)
</Update>
<!-- Display wind correction angle -->
<Element id="Element">
<FloatPosition>90.000,43.000</FloatPosition>
<Visibility> (A:AIRSPEED TRUE, knots) ) 0 > </Visibility>
<GaugeText id="GaugeText">
<FontColor>#9acd32</FontColor>
<FontFace>glassga</FontFace>
<FontHeight>20</FontHeight>
<GaugeString>
WCA%((L:DirMode,bool) 0 == ) %{if} %((L:CrossWindVel, knots) (A:AIRSPEED TRUE, knots) / asin 180 * pi / near)%!+2d!° %{end}
</GaugeString>
<Length>6</Length>
<Size>100,25</Size>
<Transparent>True</Transparent>
<VerticalAlign>CENTER</VerticalAlign>
<HorizontalAlign>LEFT</HorizontalAlign>
</GaugeText>
</Element>



