ELECTRICAL MASTER BATTERY issues

Peer support for Air Manager desktop users

Moderators: russ, Ralph

Message
Author
Toddimus
Posts: 33
Joined: Wed Feb 17, 2021 6:01 pm

ELECTRICAL MASTER BATTERY issues

#1 Post by Toddimus »

Hi,

All was good until I updated from the 4.0 Beta to 4.01 home use licensed version in MSFS 2020. Also updated the plugin to v3.4. Now, sending the following command doesn't work anymore:

Code: Select all

fs2020_variable_write("ELECTRICAL MASTER BATTERY:1", "Bool", true)
Any ideas? Is it something that changed with the SDK and/or simulator and/or Air Manager? I've had a search to see if anyone else has this issue but haven't found anything.

All of my other switches seem to function just fine when I ported over the files/folders from the Air Manager Beta folder. I also tried just running the old Air Manager Beta .exe and the result is the same. I'm suspecting it isn't an Air Manager issue, but rather something with the sim.
Simstrumentation Instrument developer
Check us out http://www.simstrumentation.com or https://github.com/Simstrumentation/Air-Manager

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: ELECTRICAL MASTER BATTERY issues

#2 Post by JackZ »

Hi
Apparently the whole Lvars system is broken with the latest release of MSFS.

Guess we will all have to wait till the next Patch.
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

User avatar
Ralph
Posts: 7876
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: ELECTRICAL MASTER BATTERY issues

#3 Post by Ralph »

Nothing in 4.0.1 changed for FS2020. So if it doesn't work with the 3.3 plugin, then as JackZ already mentioned, there's something wrong with FS2020 itself. They just brought out an update, so changes are that they broke something.

User avatar
Ralph
Posts: 7876
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: ELECTRICAL MASTER BATTERY issues

#4 Post by Ralph »

Writing a variable for the transponder still works fine with 4.0.1 and the 3.3 plugin. So it's something on your system. Firewall for example.

Toddimus
Posts: 33
Joined: Wed Feb 17, 2021 6:01 pm

Re: ELECTRICAL MASTER BATTERY issues

#5 Post by Toddimus »

Thanks for the replies. This is a bit weird though. I have a whole bunch of other events and variables that work fine. Dual external touch monitors with G1000 bezels, about 25 switches/LEDs and encoders for all of the G1000 knobs. All of that works. Just the battery switches quit working. I verified that the actual Arduino hardware switches for battery 1&2 master still work, it's just that the writing to the simulation variable doesn't work anymore

I thought more about it and I do remember it all working after the latest MSFS update. I think the issue arose when I updated to the new v3.4 Air Manager Plugin.
For troubleshooting this, I'd like to try the v3.3 Plugin but I can't seem to find it. It was overwritten when I downloaded the latest v3.4.

Could someone post a link to the v3.3 that I can try?

THANKS IN ADVANCE!!
Simstrumentation Instrument developer
Check us out http://www.simstrumentation.com or https://github.com/Simstrumentation/Air-Manager

User avatar
Ralph
Posts: 7876
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: ELECTRICAL MASTER BATTERY issues

#6 Post by Ralph »

Uh ... download it from the wiki?

Toddimus
Posts: 33
Joined: Wed Feb 17, 2021 6:01 pm

Re: ELECTRICAL MASTER BATTERY issues

#7 Post by Toddimus »

Ralph wrote: Mon May 31, 2021 7:58 pm Uh ... download it from the wiki?
Thanks Ralph. I did download it from the wiki, but that's version 3.4. I want to try the previous version 3.3. Maybe I wasn't clear??

I did just find v3.3 in my old downloads folder on the PC. I'll give it a try and see if it happens to fix the issue.
Simstrumentation Instrument developer
Check us out http://www.simstrumentation.com or https://github.com/Simstrumentation/Air-Manager

User avatar
Ralph
Posts: 7876
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: ELECTRICAL MASTER BATTERY issues

#8 Post by Ralph »

You are taking about the beta version. The release version is still 3.3.

http://siminnovations.com/wiki/index.ph ... stallation

Toddimus
Posts: 33
Joined: Wed Feb 17, 2021 6:01 pm

Re: ELECTRICAL MASTER BATTERY issues

#9 Post by Toddimus »

That makes sense now. Sorry for my confusion. I didn't realize the 3.4 was beta.
In any event, I did try v3.3 and the issue still exists. I think @JackZ hit the nail on the head when he said that MSFS LVARS are messed up with the latest update.
I did a bunch of searching on the SDK docs for MSFS and the "ELECTRICAL MASTER BATTERY:1" LVAR doesn't seem to exist anymore! Seems like the only way to control batteries now is a generic toggle event. Bummer.
Simstrumentation Instrument developer
Check us out http://www.simstrumentation.com or https://github.com/Simstrumentation/Air-Manager

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: ELECTRICAL MASTER BATTERY issues

#10 Post by JackZ »

Hi
according to Gilles
It seems that it kinda still works
87406EF5-A713-428A-B2FE-30895732295E.png
Attachments
image.png
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

Post Reply