- Messages
- 1,468
- Country

The basic original gauge function Worked correctly.
Then I added a test button and changed the code. The test function also works correctly
However when I switch on the yaw damper the gauge reacts in the same way as "if{ 2 " etc instead of "if{ 1 ". Even if I don't press the test button the wrong value is sent when I select the "yaw on" switch. The test button changes the value of (L:YAW_TEST,number) from 0 to 2 and back to 0 That works fine.
BTW I'm using (A:AILERON AVERAGE DEFLECTION,degrees) in reverse because in the sim it produces a larger value and is more visible. In real life if you hand fly the VC10 the yaw damper indicators are dancing all over the place!!
In essence I have a value 1 which allows the gauge to indicate the movement according to aileron deflection. Value 2 (a test function) which forces the gauge to indicate a deflection. It seems that the test function is not being reset even though the L:var value does change.
Your help much appreciated.
vololiberista
Code:
<Value>(L:YAW_TEST,number) 0 == (A:AUTOPILOT YAW DAMPER,bool) 1 == if{ 1 Minimum="-3" Maximum="3" (A:AILERON AVERAGE DEFLECTION,degrees) }</Value>
Code:
<Value>(L:YAW_TEST,number) (A:AUTOPILOT YAW DAMPER,bool) | if{ 1 Minimum="-3" Maximum="3" (A:AILERON AVERAGE DEFLECTION,degrees) } if{ 2 (A:AILERON AVERAGE DEFLECTION,degrees) 6 ++ }</Value>
BTW I'm using (A:AILERON AVERAGE DEFLECTION,degrees) in reverse because in the sim it produces a larger value and is more visible. In real life if you hand fly the VC10 the yaw damper indicators are dancing all over the place!!
In essence I have a value 1 which allows the gauge to indicate the movement according to aileron deflection. Value 2 (a test function) which forces the gauge to indicate a deflection. It seems that the test function is not being reset even though the L:var value does change.
Your help much appreciated.
vololiberista


