Dysfonctionnement depuis MAJ
Dysfonctionnement depuis MAJ
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
Re: Dysfonctionnement depuis MAJ
Can you post your existing code so we can see what you have already.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: Dysfonctionnement depuis MAJ
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
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
Re: Dysfonctionnement depuis MAJ
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
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
Re: Dysfonctionnement depuis MAJ
Ah j'ai tout tapé en anglais mais cela a été traduit en français de façon automatique. Sorry
Re: Dysfonctionnement depuis MAJ
I'm not sure what would be wrong with the license indicating to be in use?