- Messages
- 10,163
- Country

Hey all,
What is the best way to manage a smart toggle?
For instance. Fuel management gauge 'reads' L:var fuel switches. When switches turn off or on, the smart fuel gauge turns the actual commands on and off.
But.. if you do a cold and dark start, the L:var can be flipped off and its seen as on and the toggle isnt done.
How do you properly manage a 'smart' toggle operation for on/off on an L:var switch?
This is what I am looking at right now.... I just feel its wrong. I must be missing something.
How do you get it to 'sync'? Just give it another 'click' command on variations?
What is the best way to manage a smart toggle?
For instance. Fuel management gauge 'reads' L:var fuel switches. When switches turn off or on, the smart fuel gauge turns the actual commands on and off.
But.. if you do a cold and dark start, the L:var can be flipped off and its seen as on and the toggle isnt done.
How do you properly manage a 'smart' toggle operation for on/off on an L:var switch?
This is what I am looking at right now.... I just feel its wrong. I must be missing something.
Code:
<Element>
<Select>
<Value>
(A:GENERAL ENG FUEL VALVE:1,bool) 1 ==
(L:LH_JetPump Switch,bool) 1 == and
if{ (>K:TOGGLE_FUEL_VALVE_ENG1) }
</Value>
</Select>
</Element>
<Element>
<Select>
<Value>
(A:GENERAL ENG FUEL VALVE:1,bool) 1 ==
(L:LH_JetPump Switch,bool) 0 == and
if{ (>K:TOGGLE_FUEL_VALVE_ENG1) }
</Value>
</Select>
</Element>
How do you get it to 'sync'? Just give it another 'click' command on variations?