Re: XML gauge code woes
Posted: 28 Oct 2009, 15:25
Hi Bob
You could add some processing code to return the switch to the correct position if the keyboard is used. M$ don't provide us with a variable for a wingfold control, hence the problem.
I've tried this on the swingtail and it works, but the switch won't move until the operation (ie wingfold) is complete, which on the swingtail takes about 30 seconds. I imagine the parachute deployment will be almost instant, so the switch will move much more quickly.
<Element>
<Select>
<Value>(A:Folding Wing Left Percent,percent) 0 == (L:Brake_Parachute_Switch, number) 1 == && if{ 0 (>L:Brake_Parachute_Switch, number) } els{ (A:Folding Wing Left Percent,percent) 100 == (L:Brake_Parachute_Switch, number) 0 == && if{ 1 (>L:Brake_Parachute_Switch, number) } }</Value>
</Select>
</Element>
cheers
Fraser
You could add some processing code to return the switch to the correct position if the keyboard is used. M$ don't provide us with a variable for a wingfold control, hence the problem.
I've tried this on the swingtail and it works, but the switch won't move until the operation (ie wingfold) is complete, which on the swingtail takes about 30 seconds. I imagine the parachute deployment will be almost instant, so the switch will move much more quickly.

<Element>
<Select>
<Value>(A:Folding Wing Left Percent,percent) 0 == (L:Brake_Parachute_Switch, number) 1 == && if{ 0 (>L:Brake_Parachute_Switch, number) } els{ (A:Folding Wing Left Percent,percent) 100 == (L:Brake_Parachute_Switch, number) 0 == && if{ 1 (>L:Brake_Parachute_Switch, number) } }</Value>
</Select>
</Element>
cheers
Fraser