Battery Bus Switch LVAR/EventID

Locked
User avatar
johnh
Posts: 50
Joined: Mon Sep 16, 2019 1:19 pm
Battery Bus Switch LVAR/EventID

Post by johnh » Sun Jul 19, 2020 12:17 am

Hi All,
Thanks to Chris I have got almost everything I want to work off my Saitek Panels and FIP's. But for the life of me a cannot figure out how to assign a switch to the Bat Bus (EMER OFF/NORM).

Edit: also the Left/Right Ignition Switches if possible

Any clues?

ccmh15
Posts: 108
Joined: Tue Jan 07, 2020 2:33 pm
Location: LOWW
Contact:
Re: Battery Bus Switch LVAR/EventID

Post by ccmh15 » Mon Jul 20, 2020 1:38 pm

The corresponding LVAR for the BAT BUS switch is called "B350i_BatteryMasterFake".
Value "1" -> "EMER OFF"
Value "0" -> "NORM"

For the Ignition and Engine Start switches, its "StarterLeft" and "StarterRight"
Value "1" -> "ON"
Value "0" -> "OFF"

Cheers,
Chris

User avatar
johnh
Posts: 50
Joined: Mon Sep 16, 2019 1:19 pm
Re: Battery Bus Switch LVAR/EventID

Post by johnh » Tue Jul 21, 2020 11:18 am

Thanks again Chris, silly questions like this are what you get when you should have gone to bed 10 - 12 hours earlier :oops:

ccmh15
Posts: 108
Joined: Tue Jan 07, 2020 2:33 pm
Location: LOWW
Contact:
Re: Battery Bus Switch LVAR/EventID

Post by ccmh15 » Tue Jul 21, 2020 2:51 pm

Don't worry, sometimes it can be a real pain to find the correct variable or event name, I also did spend a few hours on this :lol:

I still didn't find a way to directly set the autopilot values, like Heading, Altitude, FLC Speed or Vertical Speed. I really would like to set those values directly, but so far I just managed to write a LUA script that is simulating the rotary increase/decrease actions until the values within the MVKA match my desired values. Not exactly nice, but at least it works...

Maybe you can help me out here in return ;)

User avatar
johnh
Posts: 50
Joined: Mon Sep 16, 2019 1:19 pm
Re: Battery Bus Switch LVAR/EventID

Post by johnh » Tue Jul 21, 2020 8:46 pm

I will try! I have PM'd you my setup for the Multi & Radio Panels. Had to PM as I could not attach PDF's here.

PS. Let me know if you don't receive my PM by tomorrow. II have been having issues with my PM's sometimes not going.

User avatar
Slayer
Posts: 1517
Joined: Sat Mar 08, 2014 3:26 am
Contact:
Re: Battery Bus Switch LVAR/EventID

Post by Slayer » Tue Jul 21, 2020 10:49 pm

I believe those gauges are C++. It may not be possible to get data from them. I will as Tomas if it can be done.

User avatar
johnh
Posts: 50
Joined: Mon Sep 16, 2019 1:19 pm
Re: Battery Bus Switch LVAR/EventID

Post by johnh » Fri Jul 24, 2020 9:49 am

Thanks Steve, would be great to know if it can be done.

ccmh15
Posts: 108
Joined: Tue Jan 07, 2020 2:33 pm
Location: LOWW
Contact:
Re: Battery Bus Switch LVAR/EventID

Post by ccmh15 » Fri Jul 24, 2020 10:04 am

Reading the LVARs is possible without a problem. But for the mentioned autopilot values, it's obviously just not possible to write to them directly.

Reason I would need this: My hardware autopilot panel is calculating values for heading, speed and so on directly within the hardware, because this enables absolute lag free rotary encoder operation.

Right now, I have to constantly compare the actual values within the MVKA to the target values from my hardware, and have to use the VC rotary increase/decrease events until those values match.

Long story short - would be really helpful, to be able to directly write those AP LVARs.

Cheers!


Locked

Return to “K.A.350 Support Forum”