Archived

This topic is now archived and is closed to further replies.

Niclas

Wiper rotation

Recommended Posts

Hello Can someone please help me with this Wiper xml gauge made for my 737 panel. It works perfect at the pilot window, but now I want it on the copilot side rotating opposite way. I dont know what values to change so please help me with this<Element> <Position X="650" Y="312"/> <Image Name="Wiper.bmp" PointsTo="North" ImageSizes="177,355,0,0" Bright="NO"> <Axis X="50" Y="565"/> </Image> <Rotate> <Value Minimum="0" Maximum="60">(G:Var1) (G:Var2) + (>G:Var1) (G:Var1) 2 <= if{ (L:Wiper, enum) (>G:Var2) } (G:Var1) 60 >= if{ (L:Wiper, enum) /-/ (>G:Var2) } (G:Var1) 60 < if{ (L:Wiper, enum) 0 == if{ 2 (>G:Var2) } } (G:Var1)</Value> <Nonlinearity> <Item Value="60" X="0" Y="270"/> <Item Value="30" X="369" Y="15"/> <Item Value="0" X="669" Y="50"/> </Nonlinearity> </Rotate> </Element></Gauge>

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Reverse the order of the nonlinearity table:

<Item Value="0" X="669" Y="50"/><Item Value="30" X="369" Y="15"/> <Item Value="60" X="0" Y="270"/>

Share this post


Link to post
Share on other sites