• 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.

ELEVATOR_TRIM_SET Problem

Dietmar

Resource contributor
Messages
198
Country
germany
Hi,
I just try with a simple XML click to set a initial trim value (NULL for example).
Just with this click function:

0 (>K:ELEVATOR_TRIM_SET)

When I start my flight, and my trim would not be not NULL ,I do the click, and it works. The trim is NULL. Now, I move my trim with the stick/Key num 7/1 UP or DN means no longer NULL. I click on my NULL setting button with no effect. In addition even the Key num 5 ,which should reset all to NULL has no effect at all, even it has been set correct in the control setting.
With the key commands AXIS_ELEV_TRIM_SET, or ELEVATOR_SET I see the same problem. Any idea what I have overseen ??

Thanks
Dietmar
 
Thanks for your quick reply. The problem is:
I know this code. It is coded in the model. I am in convesation with the UKMIL
people and I tried to develope just a simple code to set the trim outside the model. So, I experienced the problems I described in my threat.
Where is the problem just to set the trim with a simple click ? Why do the keys not working ??

Dietmar
 
You can easily substitute everything in the <code> section in any 2d XML gauge:

Code:
(L:Trim Reset,bool) 0 != 
(A:Aileron trim,percentage) abs 0.1 > 
(A:Rudder trim,percentage) abs 0.1 > 
|| &amp;&amp; 
if{ 
    (A:Aileron trim,percentage) abs 0.1 > 
        if{ 
            (A:Aileron trim,percentage) 0 > 
                if{ 0 (>K:AILERON_TRIM_LEFT) } 
              els{ 0 (>K:AILERON_TRIM_RIGHT) } 
         } 
    (A:Rudder trim,percentage) abs 0.1 > 
       if{ 
           (A:Rudder trim,percentage) 0 > 
              if{ 0 (>K:RUDDER_TRIM_LEFT) } 
            els{ 0 (>K:RUDDER_TRIM_RIGHT) } 
         } 
    } 
els{ 
     0 (>L:Trim Reset,bool)
    }
 
Bill,

I know, however my initial question is still the same. Why do the keys not working, and why a simple click to set the trim to NUll again, after I changed the trim position with num 7/1 key (or the stick button).
Why does this key cmd not work two times ?

0 (>K:ELEVATOR_TRIM_SET)

Firstly: after FSX start it works and sets the trim to NULL.
Secondly: I change the trim position, click again and nothing happends.

Dietmar
 
I finally sorted the problem out. I wrote a little XML gauge which provides now a complete NULL setting with the Num Pad 5 key on the key-board for the AILERONS, RUDDER, ELEVTOR, ELEVATOR TRIM.
When ever you change the trim/rudder/elevator/trim position with a key/stick , and you hit the num pad 5 key, everything will be set to NULL.
I have uploaded the gauge to AVSIM doday. The zip file is:Surface_Reset.zip.

Dietmar
 
Back
Top