Identifying fs2020 variables

Questions about deployment and use of Air Manager Instruments

Moderators: russ, Ralph

Post Reply
Message
Author
a533
Posts: 49
Joined: Fri Apr 09, 2021 3:25 pm

Identifying fs2020 variables

#1 Post by a533 »

Good afternoon,

I've created several panels with AirManager for XPlane.

Recently, I installed FS2020, and I want to convert the panels so that they work for both simulators since I don't want to abandon XPlane.

In XPlane, I use the DataRefTool plugin, which allows me to press any button in the virtual cockpit and see which dataref has been modified, so that I know which dataref to use in my AirManager panel to achieve the same effect.

Is there something similar in FS2020? So that I can see which variable have been modified when I press a button in the virtual cockpit, so I can identify it and simulate it?

Thank you very much and best regards.

Alvaro

SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

Re: Identifying fs2020 variables

#2 Post by SimPassion »

Hi Alvaro

there's mobiflight hubhop presets location, together with MSFS DevMode / Tools / Behaviors / LocalVariables tab, for which we have to not miss to uncheck (disable) "Show only vars set by plane"

https://hubhop.mobiflight.com/presets/

image.png

User avatar
Sling
Posts: 5242
Joined: Mon Sep 11, 2017 2:37 pm
Contact:

Re: Identifying fs2020 variables

#3 Post by Sling »

I’m sure many of us would love a tool such as Dataref Tool that works with MSFS but alas it’s not that simple I’m afraid. You have to become an investigator of the Sherlock Holmes standard if you want to solve all the mysteries. Some are simple and easy but others can take some tracking down. There are multiple tools to use some of which Gilles (@SimPassion) listed but the Microsoft chosen scheme is nowhere near as user friendly as the Xplane equivalent. I don’t expect FS2024 to change that either. Good Luck.

a533
Posts: 49
Joined: Fri Apr 09, 2021 3:25 pm

Re: Identifying fs2020 variables

#4 Post by a533 »

Thank you both,

I have almost everything working, except for the batteries

the event "TOGGLE MASTER BATTERY" does not seem to work in the bonanza.

Regards

Alvaro

SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

Re: Identifying fs2020 variables

#5 Post by SimPassion »

a533 wrote: Tue Sep 26, 2023 6:58 pm Thank you both,

I have almost everything working, except for the batteries

the event "TOGGLE MASTER BATTERY" does not seem to work in the bonanza.

Regards

Alvaro
Which Bonanza ? Please be more specific ;-)

User avatar
Crunchmeister
Posts: 222
Joined: Tue Aug 10, 2021 2:06 pm

Re: Identifying fs2020 variables

#6 Post by Crunchmeister »

If you're referring to the default Bonanza (or its mods), the correct AM event command is fs2020_event("K:TOGGLE_MASTER_BATTERY", 1)
- Ryzen 5950x, 64GB 3600MHz RAM, RTX3070Ti

Simstrumentation Instrument dev
Free Air Manager instruments for MSFS available at http://www.simstrumentation.com

a533
Posts: 49
Joined: Fri Apr 09, 2021 3:25 pm

Re: Identifying fs2020 variables

#7 Post by a533 »

Thank you,

Yes, it is the default bonanza. Now it works. I has trying to change the offset of FSUIPC7 (by Pete Dowson), since I use SIOC and opencockpits/iocards hardware. For some reason the offset does not work. The variable of AirManager works fine.

Thank you

Alvaro

SimPassion
Posts: 5346
Joined: Thu Jul 27, 2017 12:22 am

Re: Identifying fs2020 variables

#8 Post by SimPassion »

a533 wrote: Thu Sep 28, 2023 8:54 am Thank you,

Yes, it is the default bonanza. Now it works. I has trying to change the offset of FSUIPC7 (by Pete Dowson), since I use SIOC and opencockpits/iocards hardware. For some reason the offset does not work. The variable of AirManager works fine.

Thank you

Alvaro
Hi Alvaro, if you mentioned "K:TOGGLE_MASTER_BATTERY", be aware it actually differentiates from a variable, in the way it is an event ! ;-)

Post Reply