Bumpy 2 Posted August 31, 2015 Share Posted August 31, 2015 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 , so i have to code a gauge for that. Link to comment Share on other sites More sharing options...
FSlikerXY 2 Posted August 31, 2015 Share Posted August 31, 2015 LVar: AB_OVH_SEATBELT Link to comment Share on other sites More sharing options...
Bumpy 2 Posted September 1, 2015 Author Share Posted September 1, 2015 LVar: AB_OVH_SEATBELT many THX ! Link to comment Share on other sites More sharing options...
Bumpy 2 Posted September 1, 2015 Author Share Posted September 1, 2015 ...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) (>L:WAS BELTS,bool) (L:AB_OVH_SEATBELT,bool) (A:CABIN SEATBELTS ALERT SWITCH,bool) != if{ 1 (>K:CABIN_SEATBELTS_ALERT_SWITCH_TOGGLE) } } </Value> </Select> </Element> </Gauge>any ideas ? Link to comment Share on other sites More sharing options...
Bumpy 2 Posted September 1, 2015 Author Share Posted September 1, 2015 update,found the problem: this Lvar isnt boolean !0 = Off25 = Auto50 = On...updating gauge Link to comment Share on other sites More sharing options...
Bumpy 2 Posted September 1, 2015 Author Share Posted September 1, 2015 ...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) (>L:WAS BELTS,bool) (L:Seatbelt_state,bool) (A:CABIN SEATBELTS ALERT SWITCH,bool) != if{ 1 (>K:CABIN_SEATBELTS_ALERT_SWITCH_TOGGLE) } } </Value> </Select> </Element> </Gauge> Link to comment Share on other sites More sharing options...
FSlikerXY 2 Posted September 2, 2015 Share Posted September 2, 2015 very nice...May I ask you where did you find this new boolean LVar? :-)...because it is not listed in the offical SDK AXE_SDK_108(1).xlsx Link to comment Share on other sites More sharing options...
Bumpy 2 Posted September 2, 2015 Author Share Posted September 2, 2015 very nice...May I ask you where did you find this new boolean LVar? :-)...because it is not listed in the offical SDKAXE_SDK_108(1).xlsx...last Linda using last Aerosoft Airbus module. (used "belt" in the filter) Link to comment Share on other sites More sharing options...
tomma0185 0 Posted April 18, 2016 Share Posted April 18, 2016 Hello, I also this issue. which files should I change? thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.