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

FSX se help with xml gauge

Messages
127
Country
newzealand
Hi all

I have a turbine temperature gauge with analog and digital read out for a helicopter. both work but need to sort out the digital part of the gauge.
Before engine startup the gauge shows ambient temp. On engine start up the needle climbs to 435 degrees but the digital part shows up 435 straight away. When I increase collective which is set to the pitch axis both the needle and digital gauge climb and fall together.
I would like to have digital gauge read ambient temp like the needle and then climb like the needle does to 435 degrees.

Is anyone able to help i would be much appreciated.

here is the xml code


<Gauge Name="ITT1 D8" Version="1.0">

<Image Name="ITT.bmp" Luminous="YES" />

<!-- ===================== NEEDLE ===================== -->
<Element>
<Position X="125" Y="128" />

<Image Name="Ndl.bmp" PointsTo="North" Bright="No" Luminous="Yes">
<Axis X="31" Y="95" />
</Image>

<Rotate>

<Value Minimum="0" Maximum="1250">
(A:ENG TURBINE TEMPERATURE,Celsius)
</Value>

<Nonlinearity>
<Item Value="0" X="43" Y="169" />
<Item Value="50" X="41" Y="161" />
<Item Value="100" X="38" Y="152" />
<Item Value="150" X="36" Y="143" />
<Item Value="200" X="34" Y="133" />
<Item Value="250" X="35" Y="124" />
<Item Value="300" X="36" Y="115" />
<Item Value="350" X="38" Y="106" />
<Item Value="400" X="40" Y="97" />

<Item Value="450" X="43" Y="88" />
<Item Value="500" X="46" Y="80" />
<Item Value="550" X="50" Y="72" />
<Item Value="600" X="54" Y="64" />
<Item Value="650" X="60" Y="57" />
<Item Value="700" X="70" Y="48" />

<Item Value="800" X="120" Y="45" />
<Item Value="900" X="180" Y="90" />
<Item Value="1000" X="210" Y="160" />
</Nonlinearity>

<Delay DegreesPerSecond="8" />

</Rotate>
</Element>

<!-- ===================== DIGITAL DISPLAY ===================== -->
<Element>
<Position X="70" Y="158" />

<Visible>(A:Circuit General Panel on,bool)</Visible>

<Text X="105" Y="57"
Length="4"
Font="Quartz"
Color="#b6c3c9"
Bright="Yes"
Adjust="Center"
Fixed="Yes">

<String>%((A:ENG TURBINE TEMPERATURE,Celsius))%!3d!</String>

</Text>
</Element>
 
You have a <Delay DegreesPerSecond="8" /> in the analogue section but not in the digital.
I don't know if delay degreespersecond works for a digital gauge but it might be worth trying.
 
If it doesn’t work I would assume you would need to use the mathematical equivalent of the delay statement in the String statement instead of the variable alone. Not sure how to code that, though.
 
Cheers for the reply's.

I will add the <Delay DegreesPerSecond="8" /> and see if that works although I did alter the analog <Delay DegreesPerSecond="8" /> and there was no change in time.
 
Can confirm that adding the delay to the digital section does nothing.
Maybe someone with more knowledge can assist

Cheers

Rhys
 
Thanks for that Luka

Unfortunately the gauge didn't show up on the panel after changing that line

Cheers

Rhys
 
Back
Top