Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hy!

 

I have found almost everything I will need now to continue (I have all the rotary-encoders, pushbuttons, switches, etc on my table and am experimenting with them and FSUIPC, that looks really good).

 

What I cannot find is this rotary-knob at the Baron58's airspeed-indicator-gauge (above the turn-coordinator and left of the artificial horizon).

Don't know it's correct name...

 

Does that one exist in the dropdown menu and I just can't recognice it by it's name?

Or is there a more sophisticated way to program it?

(so far I didn't need any real deeper knowlege of FSUIPC, but I plan to go deeper anyway, for a next and more sophisticated cockpit 2014 or 2015 maybe)

 

Kind regards, Andy

Posted
What I cannot find is this rotary-knob at the Baron58's airspeed-indicator-gauge (above the turn-coordinator and left of the artificial horizon).

Don't know it's correct name...

 

Nor do I. You'd at least need to describe what it does.

 

Are you using the FSX default Baron? If so, then it simply adjusts the white subscale on the airspeed indicator, nothing else. It is local to that gauge and there is no other control for it at all. It isn't even susceptible to a mouse macro.

 

If you are using an add-on aircraft with its own panel then it may have a different implementation which might work with a keyboard short-cut, mouse macro, or maybe even an L:Var (local panel variable).

 

Regards

Pete

Posted

Thanks Pete!

Yes, I' using default FSX Baron 58.

And you mention the right button.

I thought maybe I might get also this one to work via a rotary button.

I know it's not important, but it's there! :-)

I'll just ignore it then.

Regards, Andy

Posted (edited)

Andy,

The knob is used for calculating the true airspeed by adjusting OAT in the temp window at the top of instrument. FSX uses the stock commands for this and they are available through FSUIPC. ( not tested but in FSX controls.pdf )

Command                                        Control
TRUE_AIRSPEED_CAL_DEC          65886
TRUE_AIRSPEED_CAL_INC            65885

 

EDIT - at first i looked at the FS9 gauge code and assumed it would be the same for FSX - NOPE that is a problem with assuming.. :smile: FSX no longer has the TRUE_AIRSPEED_CAL in it's own controls dropdown, nor does it respond to FSUIPC keys input for the above controls.. Below is a modded "Airspeed Indicator.xml" which gets rid of the gauge only (G:Var1) and replaces it with a local (L:True_Aspd_Cal, number). Not sure, but it may pick up on a mouse macro or at least a lua script.

 

EDIT Again - Sorry to hi-jack this thread, but I needed something similar and went on with testing in the Baron. Below the replacement gauge xml are the 2 macros to make it work.. Tested..  

 

You should be able to control the true airspeed adjustment now via hardware - if really necessary. Just this testing helped me out on figuring something for the future.

 

Roman 

 <Gauge Name="Airspeed Indicator" Version="1.0">
    <Image Name="Airspeed_Background.bmp" />
    <Element>
        <Position X="0" Y="0" />
        <MaskImage Name="Airspeed_Background.bmp">
            <Axis X="48" Y="49" />
        </MaskImage>
        <Image Name="Airspeed_TAS.bmp" DegreesPointsTo="-1">
            <Axis X="42" Y="37" />
        </Image>
        <Rotate>
            <Value>(L:True_Aspd_Cal, number) dgrd 2 * </Value>
        </Rotate>
    </Element>
    <Element>
        <Position X="0" Y="0" />
        <MaskImage Name="Airspeed_Background.bmp">
            <Axis X="45" Y="14" />
        </MaskImage>
        <Image Name="Airspeed_INHG.bmp">
            <Axis X="132" Y="1" />
        </Image>
        <Shift>
            <Value>(L:True_Aspd_Cal, number) dgrd 2 * </Value>
            <Scale X="50" />
        </Shift>
    </Element>
    <Element>
        <Position X="46" Y="48" />
        <Image Name="Airspeed_Needle.bmp" PointsTo="East">
            <Axis X="15" Y="4" />
        </Image>
        <Rotate>
            <Value Minimum="0" Maximum="260">(A:Airspeed select indicated or true,knots)</Value>
            <Failures>
                <GAUGE_AIRSPEED Action="Freeze" />
            </Failures>
            <Nonlinearity>
                <Item Value="0" X="46" Y="10" />
                <Item Value="40" X="60" Y="11" />
                <Item Value="50" X="70" Y="17" />
                <Item Value="60" X="74" Y="20" />
                <Item Value="80" X="85" Y="39" />
                <Item Value="130" X="62" Y="84" />
                <Item Value="160" X="32" Y="77" />
                <Item Value="190" X="17" Y="59" />
                <Item Value="200" X="11" Y="52" />
                <Item Value="260" X="28" Y="15" />
            </Nonlinearity>
            <Delay DegreesPerSecond="180" />
        </Rotate>
    </Element>
    <Element>
        <Position X="77" Y="80" />
        <Image Name="Airspeed_Knob.bmp">
            <Axis X="8.5" Y="9" />
        </Image>
        <Rotate>
            <Value>(L:True_Aspd_Cal, number) dgrd </Value>
        </Rotate>
    </Element>
    <Mouse>
        <Help ID="HELPID_GAUGE_AIRSPEED" />
        <Tooltip ID="TOOLTIPTEXT_AIRSPEED_KNOTS" MetricID="TOOLTIPTEXT_AIRSPEED_KILOS" />
        <Area Left="68" Right="86" Top="71" Bottom="88">
            <Help ID="HELPID_GAUGE_TAS_CALIBRATION" />
            <Area Right="9">
                <Cursor Type="DownArrow" />
                <Click Repeat="Yes">(L:True_Aspd_Cal, number) 1 - 30 /-/ max d (>L:True_Aspd_Cal, number)</Click>
            </Area>
            <Area Left="9">
                <Cursor Type="UpArrow" />
                <Click Repeat="Yes">(L:True_Aspd_Cal, number) 1 + 30 min d (>L:True_Aspd_Cal, number)</Click>
            </Area>
        </Area>
    </Mouse>
</Gauge>

"ASPD_CAL_DEC.mcro"

[Macros]
1=L:True_Aspd_Cal=Dec,-30

And finally "ASPD_CAL_INC.mcro"

[Macros]
1=L:True_Aspd_Cal=Inc,30
Edited by spokes2112
Posted

Hy Roman!

Thank you very much for the information.

That's exactly what I ment saying "...so far I didn't need any real deeper knowlege of FSUIPC...".

What you post there could be swahili to me.

But I will keep that information and let's see if I can make something out of whithin the next few months ...

Regards, Andy

Posted

*smile*

I found that gauge now (its inside a .cab) and so am able to replace it and then insert the macros.

MAN, exactly things like this make me frightened. I don't understand one word of this.

Guess I'll make the standart backup and then test it out.

Thanx a lot!

Regards, Andy

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.