- Messages
- 10,163
- Country

Hey guys,
I have tried all I know to keep this from pulsing. I trigger this off of a L:var on a switch in the VC.
This is from the hidden gauge which fires the alternators and starters, but there seems to be issues. The Alternator just pulses. It should be on or off. I have tried putting in 'quit' and 'els'. Any suggestions?
The starter also fails to turn on.
The 'system sync' (this gauge) is designed to turn off the Starters and Alternators when the plane boots up, and also set certain switches to default positions (1 instead of 0), etc.
I have tried all I know to keep this from pulsing. I trigger this off of a L:var on a switch in the VC.
This is from the hidden gauge which fires the alternators and starters, but there seems to be issues. The Alternator just pulses. It should be on or off. I have tried putting in 'quit' and 'els'. Any suggestions?
The starter also fails to turn on.
Code:
<Gauge Name="System Sync" Version="1.0">
<Size X="5" Y="5" />
<Element>
<Select>
<Value>
(L:Has_Initialized, bool) ! if{
1 (>L:LJ24 HYDRAULIC PUMP, bool)
1 (>L:LJ24B BATT MASTER LEFT, bool)
1 (>L:LJ24B BATT MASTER RIGHT, bool)
25 (>L:LEFT_GEN_SELECT_POS,number)
(>K:TOGGLE_STARTER1)
(>K:TOGGLE_STARTER2)
(>K:TOGGLE_ALTERNATOR1)
(>K:TOGGLE_ALTERNATOR2)
1 (>L:Has_initialized, bool)
}
</Value>
</Select>
</Element>
<!-- Turn On Left Generator -->
<Element>
<Select>
<Value>
(L:LEFT_GEN_SELECT_POS,number) 50 ==
if{ (>K:TOGGLE_ALTERNATOR1) quit }
els{ 0 }
</Value>
</Select>
</Element>
<!-- Turn Off Left Generator -->
<Element>
<Select>
<Value>
(L:LEFT_GEN_SELECT_POS,number) 49 >
(A:GENERAL ENG GENERATOR SWITCH:2, bool) 1 ==
and
if{ (>K:TOGGLE_ALTERNATOR1) quit }
els{ 0 }
</Value>
</Select>
</Element>
<!-- Turn off Left Starter When Not In Startup Mode -->
<Element>
<Select>
<Value>
(L:LEFT_GEN_SELECT_POS,number) 1 >
(A:GENERAL ENG STARTER:1, bool) 1 ==
and
if{ (>K:TOGGLE_STARTER1) }
els{ 0 }
</Value>
</Select>
</Element>
<!-- Turn off Left Starter When Not In Startup Mode -->
<Element>
<Select>
<Value>
(L:LEFT_GEN_SELECT_POS,number) 0 <
(A:GENERAL ENG STARTER:1, bool) 0 ==
and
if{ (>K:TOGGLE_STARTER1) }
els{ 0 }
</Value>
</Select>
</Element>
</Gauge>