Hi gauge gurus.
I am having a frustrating evening trying to do something one would expect to be very simple. I have a NAV flag which needs to be able to rotate 45 degrees around its top right corner.
The flag should "hang" vertically down when HSI CDI needle valid is false and swing 45 degrees to the left when HSI CDI needle valid is true.
Code is:
I can't understand why the "1" position is -45 not +45, frustratingly flag will rotate the wrong way unless I set delay to -90 but then FS does not effect the delay.
Kind regards, Dave.
I am having a frustrating evening trying to do something one would expect to be very simple. I have a NAV flag which needs to be able to rotate 45 degrees around its top right corner.
The flag should "hang" vertically down when HSI CDI needle valid is false and swing 45 degrees to the left when HSI CDI needle valid is true.
Code is:
Code:
<Element>
<Position X="259" Y="158"/>
<Image Name="narco hsi nav flag.bmp">
<Axis X="20" Y="0"/>
</Image>
<Rotate>
<Value>
(A:HSI CDI needle valid,bool)
</Value>
<Nonlinearity>
<Item Value="0" Degrees="0"/>
<Item Value="1" Degrees="-45"/>
</Nonlinearity>
<Delay DegreesPerSecond="-90" />
</Rotate>
</Element>
I can't understand why the "1" position is -45 not +45, frustratingly flag will rotate the wrong way unless I set delay to -90 but then FS does not effect the delay.
Kind regards, Dave.


