Dysfonctionnement depuis MAJ

Support for Arduino in combination with Air Manager and Air Player

Moderators: russ, Ralph

Post Reply
Message
Author
JLG41
Posts: 4
Joined: Sat May 29, 2021 4:51 pm

Dysfonctionnement depuis MAJ

#1 Post by JLG41 »

hi, I had interfaced a 4 Switch contactor to emulate the magneto selector of the Beaver DHC2 of MSFS2020 , it worked perfectly and since the update to Air Manager 5 (?) it no longer works. I made multiple script tests without result, the selector works well but nothing changes in the . Only the rotary contactor of the HONEYCOMB Alpha makes the contactor move in the plane. does anyone have an idea on a solution to my problem many thanks for your help cordially. Jean Louis

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

Re: Dysfonctionnement depuis MAJ

#2 Post by Sling »

Can you post your existing code so we can see what you have already.

JLG41
Posts: 4
Joined: Sat May 29, 2021 4:51 pm

Re: Dysfonctionnement depuis MAJ

#3 Post by JLG41 »

hi,
I'm a little bit desperate because my physical Magnétos selector doens't work anymore an i have no explanation. I spent a lot of time on the script without result (problem of inoperantive variables in the MILWIZ Beaver). i ended up finding a script on the Forum wich, miraculously, worked fine.

Here is the script:

eng_user_prop = user_prop_add_integer("Engine", 1, 8, 1, "Set the engine number for this magneto switch")

hw_switch_add("Magneto switch", 4, function(position, direction)

if position == 0 then
-- fs2020_event("MAGNETO".. user_prop_get(eng_user_prop) .. "_OFF")
fs2020_variable_write("RECIP ENG RIGHT MAGNETO:".. user_prop_get(eng_user_prop),"Bool",false)
fs2020_variable_write("RECIP ENG LEFT MAGNETO:".. user_prop_get(eng_user_prop),"Bool",false)

elseif position == 1 then
-- fs2020_event("MAGNETO".. user_prop_get(eng_user_prop) .. "_RIGHT")
fs2020_variable_write("RECIP ENG LEFT MAGNETO:".. user_prop_get(eng_user_prop),"Bool",false)
fs2020_variable_write("RECIP ENG RIGHT MAGNETO:".. user_prop_get(eng_user_prop),"Bool",true)

elseif position == 2 then
-- fs2020_event("MAGNETO".. user_prop_get(eng_user_prop) .. "_LEFT")
fs2020_variable_write("RECIP ENG LEFT MAGNETO:".. user_prop_get(eng_user_prop),"Bool",true)
fs2020_variable_write("RECIP ENG RIGHT MAGNETO:".. user_prop_get(eng_user_prop),"Bool",false)

elseif position == 3 then
-- fs2020_event("MAGNETO".. user_prop_get(eng_user_prop) .. "_BOTH")
fs2020_variable_write("RECIP ENG LEFT MAGNETO:".. user_prop_get(eng_user_prop),"Bool",true)
fs2020_variable_write("RECIP ENG RIGHT MAGNETO:".. user_prop_get(eng_user_prop),"Bool",true)
end

end)

no more result ...
Only the Honeycomb selector moves the selector of the plane. Maniplulating the physical selector of my cockpit ( 4 switchs) does nothing, neither in the console nor in the plane ... i don't undestand nothing. Thanks for your help cordialement Jean Louis

JLG41
Posts: 4
Joined: Sat May 29, 2021 4:51 pm

Re: Dysfonctionnement depuis MAJ

#4 Post by JLG41 »

hi,
One more a little thing.
When i am going in my account, I have:
-AIR MANAGER 5 Home édition below "In use" then the licence number
then below
AIR MANAGER 4 also "in use" and the same licence number

is this normal or is there a possible conflict who could explain my problem. (i think that this is normal but i am exploring all avenues )
Sincerely JL

JLG41
Posts: 4
Joined: Sat May 29, 2021 4:51 pm

Re: Dysfonctionnement depuis MAJ

#5 Post by JLG41 »

Ah j'ai tout tapé en anglais mais cela a été traduit en français de façon automatique. Sorry

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

Re: Dysfonctionnement depuis MAJ

#6 Post by Ralph »

I'm not sure what would be wrong with the license indicating to be in use?

Post Reply