Jump to content

LVAR for belt switch


Bumpy

Recommended Posts

Hi,

any chance telling us the LVAR for the belt switch ?

...i hate it that i have to press the fspasssengers key all the time :rolleyes:, so i have to code a gauge for that.

Link to comment
Share on other sites

...hmmm,

for some reason the data of this LVar seams to get oscillating if the belt switch set to auto or on, as fspassengers belt indicator get switched between on/off oscillating.

...i use this code for the gauge, this code is working for CS1011 (using CS1011 belt Lvar), which was not compatible with fspassengers :

<Gauge Name="Aerosoft_Airbus_belt_switch_var" Version="1.0">
   <Element>
      <Select>
        <Value>

          (L:AB_OVH_SEATBELT,number) (L:WAS BELTS,number) !=
		If{
			(L:AB_OVH_SEATBELT,bool)	(&gt;L:WAS BELTS,bool)
			(L:AB_OVH_SEATBELT,bool)	(A:CABIN SEATBELTS ALERT SWITCH,bool) !=
			if{
				1		(&gt;K:CABIN_SEATBELTS_ALERT_SWITCH_TOGGLE)
			}
		}
  		  
         </Value>
      </Select>
  </Element>
</Gauge>

any ideas ?

Link to comment
Share on other sites

...update, problem solved now !

found another Lvar which is boolean and working with the code i have: "Seatbelt_state"

 

new gauge code:

<Gauge Name="Aerosoft_Airbus_belt_switch_var" Version="1.0">
   <Element>
      <Select>
        <Value>

          (L:Seatbelt_state,number) (L:WAS BELTS,number) !=
		If{
			(L:Seatbelt_state,bool)	(&gt;L:WAS BELTS,bool)
			(L:Seatbelt_state,bool)	(A:CABIN SEATBELTS ALERT SWITCH,bool) !=
			if{
				1		(&gt;K:CABIN_SEATBELTS_ALERT_SWITCH_TOGGLE)
			}
		}
  		  
         </Value>
      </Select>
  </Element>
</Gauge>

 

 

Link to comment
Share on other sites

  • 7 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy & Terms of Use