• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS20 Airbus Trim Setting

Messages
1
Country
unitedkingdom
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.
 
Back
Top