Now I am back at home again. I changed my last post... thanks Bill.
Rob, your code is just working - I did no changes on it. As you wrote 0 will switch mixture to 100 Percent. But I need 0 = mixture around 10 % or better less than 10 % (over the engine shut down point) and 1 = 100 % mixture.
Again - the Soloy Mark 1 has no separate mixture or condition control lever.
What I did. My control gauge:
My modeldev to control Ground/Flight Idle switch
Perhaps there is a solution.
Thomas
Rob, your code is just working - I did no changes on it. As you wrote 0 will switch mixture to 100 Percent. But I need 0 = mixture around 10 % or better less than 10 % (over the engine shut down point) and 1 = 100 % mixture.
Again - the Soloy Mark 1 has no separate mixture or condition control lever.
What I did. My control gauge:
Code:
<Gauge Name="ground_flight_idle" Version="1.0">
<Element>
<Select>
<Value>
(A:GENERAL ENG COMBUSTION:1,bool)
(A:GENERAL ENG MIXTURE LEVER POSITION:1,percent) 0.1 > &&
if{
100 (L:GroundIdle,number) 90 * - s10 (A:GENERAL ENG MIXTURE LEVER POSITION:1,percent) - abs 0.1 >
if{ l10 163.84 * (>K:MIXTURE1_SET) }
}
</Value>
</Select>
</Element>
</Gauge>
My modeldev to control Ground/Flight Idle switch
Code:
<PartInfo>
<Name>switch_throttleset_gf</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(L:GroundIdle, bool) 100 *
</Code>
<Lag>400</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<HelpID>HELPID_GAUGE_SWITCH_GROUND_FLIGHT_SET</HelpID>
<ToolTipText>GROUND FLIGHT SET</ToolTipText>
<CallbackCode>(L:GroundIdle, bool) ! (>L:GroundIdle, bool)</CallbackCode>
</MouseRect>
</PartInfo>
Perhaps there is a solution.
Thomas





