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

FSXA Trim Indicator

Messages
278
Country
ca-britishcolumbia
I recently placed the VC Connie Trim indicator into my panel. The elevator trim works. But the rudder and Aileron indicators only work by mouse click. nothing by pedals or yoke. Any thing in the control settings need to be changed? or does the code just not allow it? Thanks for any input.

Greg

Code:
<Gauge Name="VN Connie Trim Indicator" Version="1.0">
   <Image Name="Trim_BG1.bmp" ImageSizes="272,272,272,272"/>
   <Element>
      <Image Name="Trim_RudNeedle.bmp" ImageSizes="7,31,7,31">
         <Axis X="3.5" Y="15.5"/>
      </Image>
      <Shift>
         <Value Minimum="-10" Maximum="10">(A:Rudder trim, degrees)</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="Freeze"/>
         </Failures>
         <Nonlinearity>
            <Item Value="-10" X="90" Y="57"/>
            <Item Value="0" X="135" Y="57"/>
            <Item Value="10" X="180" Y="57"/>
         </Nonlinearity>
      </Shift>
   </Element>
   <Element>
      <Position X="135" Y="135"/>
      <Image Name="Trim_AilNeedle.bmp" PointsTo="East" ImageSizes="97,7,97,7">
         <Axis X="48.5" Y="3.5"/>
      </Image>
      <Rotate>
         <Value Minimum="-10" Maximum="10">(A:Aileron trim, degrees)</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="Freeze"/>
         </Failures>
         <Nonlinearity>
            <Item Value="-10" X="181" Y="118"/>
            <Item Value="0" X="184" Y="135"/>
            <Item Value="10" X="181" Y="152"/>
         </Nonlinearity>
      </Rotate>
   </Element>
   <Element>
      <Image Name="Trim_ElNeedle.bmp" ImageSizes="41,7,41,7">
         <Axis X="20.5" Y="3.5"/>
      </Image>
      <Shift>
         <Value Minimum="-15" Maximum="15">(A:Elevator trim position, degrees)</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="Freeze"/>
         </Failures>
         <Nonlinearity>
            <Item Value="-15" X="135" Y="244"/>
            <Item Value="0" X="135" Y="204"/>
            <Item Value="15" X="135" Y="164"/>
         </Nonlinearity>
      </Shift>
   </Element>

   <Element>
            <Position X="195" Y="191"/>    //186
            <Text X="58" Y="18" Bright="Yes" Length="5" Font="Arial" Color="%('#FF00FF' '#FFFFFF' (A:ELEVATOR TRIM POSITION, degrees) 10 * near 10 / 0 &gt;= ! ?)" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
               <String>%((A:ELEVATOR TRIM POSITION, degrees) 10 * near 10 / )%!5.1f!</String>
            </Text>
   </Element>
   <Element>
            <Position X="195" Y="49"/>   //44
            <Text X="58" Y="18" Bright="Yes" Length="5" Font="Arial" Color="white" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
               <String>%((A:RUDDER TRIM, degrees) 10 * near 10 / )%!5.1f!</String>
            </Text>
   </Element>
   <Element>
            <Position X="195" Y="123"/>    //118
            <Text X="58" Y="18" Bright="Yes" Length="5" Font="Arial" Color="white" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
               <String>%((A:AILERON TRIM, degrees) 10 * near 10 / )%!5.1f!</String>
            </Text>
   </Element>         





   <Mouse>
      <Area Top="30" Bottom="85">
         <Help ID="HELPID_GAUGE_YAW_TRIM"/>
         <Tooltip ID="TOOLTIPTEXT_YAW_TRIM"/>
         <Area Right="136">
            <Click Event="RUDDER_TRIM_LEFT" Repeat="Yes"/>
            <Cursor Type="DownArrow"/>
         </Area>
         <Area Left="136">
            <Click Event="RUDDER_TRIM_RIGHT" Repeat="Yes"/>
            <Cursor Type="UpArrow"/>
         </Area>
      </Area>
      <Area Top="110" Bottom="160">
         <Help ID="HELPID_GAUGE_ROLL_TRIM_KNOB"/>
         <Tooltip ID="TOOLTIPTEXT_ROLL_TRIM"/>
         <Area Right="136">
            <Click Event="AILERON_TRIM_LEFT" Repeat="Yes"/>
            <Cursor Type="DownArrow"/>
         </Area>
         <Area Left="136">
            <Click Event="AILERON_TRIM_RIGHT" Repeat="Yes"/>
            <Cursor Type="UpArrow"/>
         </Area>
      </Area>
 
      <Area Top="210" Bottom="272">
         <Help ID="HELPID_GAUGE_PITCH_TRIM"/>
         <Tooltip ID="TOOLTIPTEXT_PITCH_TRIM"/>
         <Area Right="136">
            <Click Event="ELEV_TRIM_DN" Repeat="Yes" MouseWheelFlip="Yes"/>
            <Cursor Type="DownArrow" Repeat="Yes"/>
         </Area>
         <Area Left="136">
            <Click Event="ELEV_TRIM_UP" Repeat="Yes" MouseWheelFlip="Yes"/>
            <Cursor Type="UpArrow"/>
         </Area>
      </Area>
   </Mouse>
</Gauge>
 
Why would you expect the yoke or pedals to be indicated? Neither one of them affects the "trim" at all.

If you want to see the rudder and/or aileron movement, then you'll need to change the two A:variables.
 
Thanks Bill

I changed the code and have the gauge working. I just wanted to know where my rudder trim was at a glance. More for visual appearance then anything else, and really just messing with gauges trying to learn this stuff.
Thanks again
Greg
 
Back
Top