Connect/disconnect GPU

Locked
henrik.bergvin
Posts: 81
Joined: Sun Apr 12, 2020 9:56 pm
Connect/disconnect GPU

Post by henrik.bergvin » Sun Apr 26, 2020 8:01 am

Hello!

I wonder what LVAR is used for calling and dismissing the GPU? I’m binding a lot of functions to buttons and switches via LUA to avoid having to go via menus as much as possible.

I’ve tried dumping LVARS while calling it but so far haven’t found the exact one used.

ccmh15
Posts: 108
Joined: Tue Jan 07, 2020 2:33 pm
Location: LOWW
Contact:
Re: Connect/disconnect GPU

Post by ccmh15 » Sun Apr 26, 2020 1:44 pm

LVAR for requesting/disconnecting the GPU (the P3D menu entry):
"KA350i_GPU" (ID 427)

LVAR for connecting the external power source to the aircraft system (the EXT PWR cockpit switch:
"B350i_ExtPowerFake" (ID 1398)

LVAR to read if GPU is visible next to the external model:
"KA350i_GPU_Visible" (ID 16)

LVAR to read state of EXT PWR annunciator (blinking when GPU is ready but not connected to the aircraft's electrical system):
"ANNUN_EXT_POWER" (ID 45)

Have fun!
Chris

henrik.bergvin
Posts: 81
Joined: Sun Apr 12, 2020 9:56 pm
Re: Connect/disconnect GPU

Post by henrik.bergvin » Sun Apr 26, 2020 3:09 pm

ccmh15 wrote:
Sun Apr 26, 2020 1:44 pm
LVAR for requesting/disconnecting the GPU (the P3D menu entry):
"KA350i_GPU" (ID 427)

LVAR for connecting the external power source to the aircraft system (the EXT PWR cockpit switch:
"B350i_ExtPowerFake" (ID 1398)

LVAR to read if GPU is visible next to the external model:
"KA350i_GPU_Visible" (ID 16)

LVAR to read state of EXT PWR annunciator (blinking when GPU is ready but not connected to the aircraft's electrical system):
"ANNUN_EXT_POWER" (ID 45)

Have fun!
Chris
Thank you very much! Is there a list of the LVARs and their function, or do I need to continue digging with lvar dumping?

I'm also looking for, for instance, the gear horn silence button.

ccmh15
Posts: 108
Joined: Tue Jan 07, 2020 2:33 pm
Location: LOWW
Contact:
Re: Connect/disconnect GPU

Post by ccmh15 » Sun Apr 26, 2020 5:39 pm

You could try "GearSilence" (ID 1966), this one I don't have in use yet.
Actually, hitting the brakes for a moment also silences the gear warning in descent.

For my seek, I use the the LVAR gauge from Doug Dawson, see https://www.fsdeveloper.com/forum/resou ... 3d-v4.198/

However for my cockpit setup, I am also still looking for some, where I haven't been been able to successfully write to, e.g. the Pneu/Envir Bleed Switches or the Rudder Boost switch

I was planning on opening up a thread for this myself within the next few days, but now we're already at it -
would you might renaming this thread to "LVAR Search Thread" or something similar? Then we could use this one here for a collaborate seek of LVARs and Offsets :)

Regards,
Chris


Locked

Return to “K.A.350 Support Forum”