Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.
<Element>
<Select>
<Value>(A:Nav active frequency:1,Khz) 108200 == if{
(A:PLANE LATITUDE, degrees) (> C:fs9gps:GeoCalcLatitude1, degrees)
(A:PLANE LONGITUDE, degrees) (> C:fs9gps:GeoCalcLongitude1, degrees)
52.0972 (> C:fs9gps:GeoCalcLatitude2, degrees)
-0.0571 (> C:fs9gps:GeoCalcLongitude2, degrees)
(C:fs9gps:GeoCalcBearing, degrees)
(C:fs9gps:GeoCalcDistance, nmiles)
(>L:DMEDistance1, nmiles)
</Value>
</Select>
</Element>
<Element>
<Position X="688" Y="230" />
<Select>
<Value>(L:BearingSwitch,enum)</Value>
<Case Value="0">
<Image Name="SwitchB0.bmp">
<Axis X="15" Y="34" />
</Image>
</Case>
<Case Value="1">
<Image Name="SwitchB1.bmp">
<Axis X="32" Y="16" />
</Image>
</Case>
<Case Value="2">
<Image Name="SwitchB2.bmp">
<Axis X="20" Y="33" />
</Image>
</Case>
<Case Value="3">
<Image Name="SwitchB3.bmp">
<Axis X="32" Y="19" />
</Image>
</Case>
</Select>
</Element>
<Element>
<Position X="687" Y="74" />
<Image Name="radio_compass_green_needle2.bmp">
<Axis X="6" Y="55" />
</Image>
<Rotate>
<Value>(A:Nav active frequency:1,Khz) 108200 == (L:BearingSwitch,enum) 1 == && if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + } (A:Nav active frequency:1,Khz) 112150 == (L:BearingSwitch,enum) 2 == && if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + } (A:Nav active frequency:1,Khz) 115000 == (L:BearingSwitch,enum) 3 == && if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + } </Value>
</Rotate>
<Delay PixelsPerSecond="40" />
</Element>
<Area Left="652" Top="176" Width="40" Height="50">
<Cursor Type="DownArrow" />
<Click>(L:BearingSwitch, enum) -- d 0 < if{ 3 } (>L:BearingSwitch, enum)</Click>
</Area>
<Area Left="711" Top="176" Width="40" Height="50">
<Cursor Type="UpArrow" />
<Click>(L:BearingSwitch, enum) ++ d 3 > if{ 0 } (>L:BearingSwitch, enum)</Click>
</Area>
<Rotate>
<Value>(A:Nav active frequency:1,Khz) 108200 == (L:BearingSwitch,enum) 1 == && if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + } (A:Nav active frequency:1,Khz) 112150 == (L:BearingSwitch,enum) 2 == && if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + } (A:Nav active frequency:1,Khz) 115000 == (L:BearingSwitch,enum) 3 == && if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + } </Value>
<Delay DegreesPerSecond="80"/>
</Rotate>
<Macro Name="ExtDigit">
@1 sp0
@3 0 >
if{ l0 10 @3 pow * sp0 }
l0 int 10 @2 pow % 10 @2 1 - 0 max pow / int
</Macro>
<Update>
(L:DMEDistance1, nmiles) 0 max sp2
</Update>
<!-- 1000's -->
<Element>
<Position X="875" Y="49"/>
<MaskImage Name="DMEwindow2.bmp">
<Axis X="884" Y="61"/>
</MaskImage>
<Image Name="NumberStrip2.bmp" >
</Image>
<Shift>
<Value>l2 100 % s1 99.7 >= l1 99.7 - * @ExtDigit(l2,4,0) +</Value>
<Nonlinearity>
<Item Value="0" X="0" Y="-1"/>
<Item Value="10" X="0" Y="-157"/>
</Nonlinearity>
<Failures>
<SYSTEM_ELECTRICAL_AVIONICS Action="Freeze"/>
</Failures>
</Shift>
</Element>
<!-- 100's -->
<Element>
<Position X="875" Y="49"/>
<MaskImage Name="DMEwindow2.bmp">
<Axis X="897" Y="61"/>
</MaskImage>
<Image Name="NumberStrip2.bmp" >
</Image>
<Shift>
<Value>l2 100 % s1 99.7 >= l1 99.7 - * @ExtDigit(l2,3,0) +</Value>
<Nonlinearity>
<Item Value="0" X="0" Y="-1"/>
<Item Value="10" X="0" Y="-157"/>
</Nonlinearity>
<Failures>
<SYSTEM_ELECTRICAL_AVIONICS Action="Freeze"/>
</Failures>
</Shift>
</Element>
<!-- 10s -->
<Element>
<Position X="875" Y="49"/>
<MaskImage Name="DMEwindow2.bmp">
<Axis X="911" Y="61"/>
</MaskImage>
<Image Name="NumberStrip2.bmp">
</Image>
<Shift>
<Value>l2 10 % s1 9.7 >= l1 9.7 - * @ExtDigit(l2,2,0) +</Value>
<Nonlinearity>
<Item Value="0" X="0" Y="-1"/>
<Item Value="10" X="0" Y="-157"/>
</Nonlinearity>
<Failures>
<SYSTEM_ELECTRICAL_AVIONICS Action="Freeze"/>
</Failures>
</Shift>
</Element>
<!-- 1s -->
<Element>
<Position X="875" Y="49"/>
<MaskImage Name="DMEwindow2.bmp">
<Axis X="926" Y="61"/>
</MaskImage>
<Image Name="NumberStrip2.bmp">
</Image>
<Shift>
<Value>l2 1 % @ExtDigit(l2,1,0) +</Value>
<Nonlinearity>
<Item Value="0" X="0" Y="-1"/>
<Item Value="10" X="0" Y="-157"/>
</Nonlinearity>
<Failures>
<SYSTEM_ELECTRICAL_AVIONICS Action="Freeze"/>
</Failures>
</Shift>
</Element>
Do the gauges look that bad? 😂 I think I see what you do with the window frames shape/ style being similar?Alright - I feel like I should recognise the aircraft. Bristol Britannia or similar?
tided up for easier reading
<Value>
(A:Nav active frequency:1,Khz) 108200 ==
(L:BearingSwitch,enum) 1 ==
(L:CodeSwitch, enum) 2 ==
(L:CodeSwitch2, enum) 1 ==
(L:CodeSwitch3, enum) 0 ==
(L:CodeSwitch4, enum) 2 == && &&
if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + } </Value>
<Value>
(A:Nav active frequency:1,Khz) 108200 == (L:BearingSwitch,enum) 1 ==
(L:CodeSwitch, enum) 2 == (L:CodeSwitch2, enum) 1 ==
(L:CodeSwitch3, enum) 0 == (L:CodeSwitch4, enum) 2 ==
&& && &&
if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + }
(A:Nav active frequency:1,Khz) 112150 == (L:BearingSwitch,enum) 2 ==
(L:CodeSwitch, enum) 0 == (L:CodeSwitch2, enum) 0 ==
(L:CodeSwitch3, enum) 1 == (L:CodeSwitch4, enum) 0 ==
&& && &&
if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + }
(A:Nav active frequency:1,Khz) 115000 == (L:BearingSwitch,enum) 3 ==
(L:CodeSwitch, enum) 0 == (L:CodeSwitch2, enum) 2 ==
(L:CodeSwitch3, enum) 2 == (L:CodeSwitch4, enum) 0 ==
&& && &&
if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + }
</Value>
(A:Nav active frequency:1,Khz) 108200 == (L:BearingSwitch,enum) 1 ==
(L:CodeSwitch, enum) 2 == (L:CodeSwitch2, enum) 1 ==
(L:CodeSwitch3, enum) 0 == (L:CodeSwitch4, enum) 2 ==
&& && &&
if{ (L:Bearing22, radians) (ApLANE HEADING DEGREES MAGNETIC, radians) - pi + } >||<
(A:Nav active frequency:1,Khz) 112150 == (L:BearingSwitch,e...................ect ect
<Value> (L:CodeSwitch, enum) 2 == (L:CodeSwitch2, enum) 1 == (L:CodeSwitch3, enum) 0 ==
(L:CodeSwitch4, enum) 2 == (A:Nav active frequency:1,Khz) 108200 ==
(L:BearingSwitch,enum) 1 ==
and and and and and
if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + }
(A:Nav active frequency:1,Khz) 112150 == (L:BearingSwitch,enum) 2 ==
(L:CodeSwitch, enum) 0 == (L:CodeSwitch2, enum) 0 ==
(L:CodeSwitch3, enum) 1 == (L:CodeSwitch4, enum) 0 ==
and and and and and
if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + }
(L:CodeSwitch, enum) 0 == (L:CodeSwitch2, enum) 2 ==
(L:CodeSwitch3, enum) 2 == (L:CodeSwitch4, enum) 0 ==
(A:Nav active frequency:1,Khz) 115000 == (L:BearingSwitch,enum) 3 ==
and and and and and
if{ (L:Bearing22, radians) (A:PLANE HEADING DEGREES MAGNETIC, radians) - pi + }
els{ 0 (>L:Bearing22, degrees)
</Value>
<Area Left="880" Top="320" Width="119" Height="220">
<Cursor Type="Hand" />
<Tooltip>Battery Dynamo Crank</Tooltip>
<Click Repeat="Yes">(L:CrankHandle,percent) ++ 99 % (>L:CrankHandle,percent)</Click>
</Area>