Page 1 of 1
Connect/disconnect GPU
Posted: Sun Apr 26, 2020 8:01 am
by henrik.bergvin
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.
Re: Connect/disconnect GPU
Posted: Sun Apr 26, 2020 1:44 pm
by ccmh15
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
Re: Connect/disconnect GPU
Posted: Sun Apr 26, 2020 3:09 pm
by henrik.bergvin
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.
Re: Connect/disconnect GPU
Posted: Sun Apr 26, 2020 5:39 pm
by ccmh15
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