Jump to content
The simFlight Network Forums

A320NX how can I change Altitude displayed with MobiFlight hardware button without the Auto pilot start changing the altitude of the plane


Recommended Posts

Posted

Hi I hope evrybody is in good health

I am very new to trying to contyrol the FS2020 with external hardware.

I am trying to use MobiFlight and I have been able to do some small things.

I create a button (increase) and another to decrease  (in the future it will bean encoder) and I can change the altitude showned in FCU Panel allright but as soon as I change the value the AutoPilot will start to increase or decrease the altitude of the plane what is not supose to do. It would only do that if we Pull the ALT KNOB.

I compare the events of changing the Altitude with the mouse and pressing the hardware button and they seem the same but the result is different.

I had created anothe button to simulate the PULL OF THE ALT KNOB and it works.

I am a little desesperate.

I am sending the 2 cases with the mouse:  No change of altitude till I pull the Knob

 17813687  9892 *** Event from SimC EV: Cntrl= 66124 (0x0001024c), Param= 3000 (0x00000bb8) AP_ALT_VAR_SET_ENGLISH (CalibOnly=0)
 17813687  9892 *** Intercepted EVENT (from dispatch): Cntrl= 66124 (0x0001024c), Param= 3000 (0x00000bb8) AP_ALT_VAR_SET_ENGLISH
 17813687  9892 *** EVENT: Cntrl= 66124 (0x0001024c), Param= 3000 (0x00000bb8) AP_ALT_VAR_SET_ENGLISH

 

 

With the hardware button: Imediatly starts change the plane altitude

18137062  9892 Transmitting "AP_ALT_VAR_SET_ENGLISH" 66124 [0x1024C], Param 5000, Priority 1 (Axes flag = 0)
 18137062  9892 *** Event from SimC EV: Cntrl= 66124 (0x0001024c), Param= 5000 (0x00001388) AP_ALT_VAR_SET_ENGLISH (CalibOnly=0)
 18137062  9892 *** Intercepted EVENT (from dispatch): Cntrl= 66124 (0x0001024c), Param= 5000 (0x00001388) AP_ALT_VAR_SET_ENGLISH
 18137062  9892 *** EVENT: Cntrl= 66124 (0x0001024c), Param= 5000 (0x00001388) AP_ALT_VAR_SET_ENGLISH
 18137093  9892 *** Event from SimC EV: Cntrl= 68067 (0x000109e3), Param= 1 (0x00000001) ALTITUDE_SLOT_INDEX_SET (CalibOnly=0)
 18137093  9892 *** Intercepted EVENT (from dispatch): Cntrl= 68067 (0x000109e3), Param= 1 (0x00000001) ALTITUDE_SLOT_INDEX_SET
 18137093  9892 *** EVENT: Cntrl= 68067 (0x000109e3), Param= 1 (0x00000001) ALTITUD

Any help woul be greatly apreciated_SLOT_INDEX_SET
 

Joao

 

 

Posted
13 minutes ago, jatavares said:

I create a button (increase) and another to decrease  (in the future it will bean encoder) and I can change the altitude showned in FCU Panel allright but as soon as I change the value the AutoPilot will start to increase or decrease the altitude of the plane what is not supose to do. It would only do that if we Pull the ALT KNOB.

FSUIPC is only an interface to pass controls that it receives to the FS. How the FS responds is outside of our control.

18 minutes ago, jatavares said:

I compare the events of changing the Altitude with the mouse and pressing the hardware button and they seem the same but the result is different.

Yes...unfortunately. Many events sent to the sim can result in different events received, which also don't  include the actual event sent.

I'm not that familiar with the A320, or the MB events or this aircraft/mod, but maybe your question should be asked on the MB AS320 mod forums, if that is what you are using.

Other that, I would at least need to see your FSUIPC log and ini files to comment further.

John

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.