Using Input Events (B:Vars) in Air Manager

Help creating logic scripts for Air Manager Instruments

Moderators: russ, Ralph

Post Reply
Message
Author
ylevesque
Posts: 75
Joined: Wed Jan 09, 2019 6:49 pm

Using Input Events (B:Vars) in Air Manager

#1 Post by ylevesque »

Input Events and B:Vars are now frequently used in MSFS instruments. Unfortunately, these are not directly usable in Air Manager because there is no SimConnect function to access them.
But there is a way to use them in our AM instruments scripts by converting B:Vars to L:Vars and L:Vars to Input Events
This conversion process should be done in the aircraft code in specific xml files.
Thanks to SimPassion who published a post with a link to the excellent article on this.

Detailed instructions are in this pdf file:
Using Input Events.pdf
(90.73 KiB) Downloaded 132 times
I attached my Cabri_G2_Interior.xml and 2 instruments. You can test them in your Air Manager (version 4.2 or more). Input Events are used in the Carb Heat switch, the Clutch cover and the Rotor handle.
G2 Instruments 2023-08-30.zip
(1.34 MiB) Downloaded 98 times
Yves

MikeLima
Posts: 7
Joined: Sat Nov 11, 2023 6:59 pm

Re: Using Input Events (B:Vars) in Air Manager

#2 Post by MikeLima »

You're my life saver. Thank you very much for sharing. (Trying to build a cockpit for the Guimbal Cabri G2).
Mike

MikeLima
Posts: 7
Joined: Sat Nov 11, 2023 6:59 pm

Re: Using Input Events (B:Vars) in Air Manager

#3 Post by MikeLima »

Could you maybe assist with the NR-switch ? I think it's the last missing component...

ylevesque
Posts: 75
Joined: Wed Jan 09, 2019 6:49 pm

Re: Using Input Events (B:Vars) in Air Manager

#4 Post by ylevesque »

Sorry.
I didn't work on this switch yet.

Yves

SuperDave829
Posts: 2
Joined: Mon Oct 30, 2023 6:02 pm

Re: Using Input Events (B:Vars) in Air Manager

#5 Post by SuperDave829 »

Thank you, ylevesque, for the prompt reply!
I will digest the info you sent, and feel enlightened, and maybe get a few more switches working.

Post Reply