- Messages
- 1
- Country
Hi all, I am trying to set the trim value of whichever plane you are in via an event in managed Simconnect (C#). Here is the code I am using:
_simConnect?.MapClientEventToSimEvent(Events.SET_ELEVATOR_TRIM, "AXIS_ELEV_TRIM_SET");
_simConnect?.TransmitClientEvent(SimConnect.SIMCONNECT_OBJECT_ID_USER, Events.SET_ELEVATOR_TRIM, (uint)5000,
Group.ID_PRIORITY_STANDARD, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY);
This code is cut for brevity but works fine for every aircraft tried, i.e., the on-screen trim wheel changes correctly according to the new value sent. All except any Airbus plane I have tried. When this code is triggered in an Airbus, the in-cockpit trim wheel moves quickly between the new position and the old and doesn't stay in the new position like it does with other planes.
I did read something about there being an auto-trim on the Airbus’s which may be causing this and I should turn off the FCU1 and FCU2 I think to prevent this trim wheel flickering issue. However, even when I start cold and dark in the same Airbus (so no panels are on) I still see this flickering issue. Also if I assign an analogue trim wheel to the elevator trim axis within msfs controls and I don’t use simconnect at all, all works fine and the trim wheel turns smoothly as expected.
So, the question is… why does the Airbus trim wheel flicker like this when using simconnect when no other planes do and using the same code? Whats the difference? Does the Airbus use a different LVAR or event or something?
Needless to say, I am new to this simconnect business so any help here would be greatly appreciated. What obvious thing am I missing? Could you point me in the right direction. Thanks.
_simConnect?.MapClientEventToSimEvent(Events.SET_ELEVATOR_TRIM, "AXIS_ELEV_TRIM_SET");
_simConnect?.TransmitClientEvent(SimConnect.SIMCONNECT_OBJECT_ID_USER, Events.SET_ELEVATOR_TRIM, (uint)5000,
Group.ID_PRIORITY_STANDARD, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY);
This code is cut for brevity but works fine for every aircraft tried, i.e., the on-screen trim wheel changes correctly according to the new value sent. All except any Airbus plane I have tried. When this code is triggered in an Airbus, the in-cockpit trim wheel moves quickly between the new position and the old and doesn't stay in the new position like it does with other planes.
I did read something about there being an auto-trim on the Airbus’s which may be causing this and I should turn off the FCU1 and FCU2 I think to prevent this trim wheel flickering issue. However, even when I start cold and dark in the same Airbus (so no panels are on) I still see this flickering issue. Also if I assign an analogue trim wheel to the elevator trim axis within msfs controls and I don’t use simconnect at all, all works fine and the trim wheel turns smoothly as expected.
So, the question is… why does the Airbus trim wheel flicker like this when using simconnect when no other planes do and using the same code? Whats the difference? Does the Airbus use a different LVAR or event or something?
Needless to say, I am new to this simconnect business so any help here would be greatly appreciated. What obvious thing am I missing? Could you point me in the right direction. Thanks.