Jump to content
Sign in to follow this  
gorlosky

What does <Delay...> mean ?

Recommended Posts

I see the word "<Delay..." in code and wonder what it means and does:For example:

<Gauge Name="Main RPM Indicator" Version="1.0">	<Image Name="RPM_Background.bmp" />	<Element>		<Position X="26" Y="26" />		<Image Name="Engine_Gauges_Needle.bmp" PointsTo="East">			<Axis X="-9" Y="2" />		</Image>		<Rotate>			<Value Minimum="0" Maximum="35">(A:Prop1 RPM,RPM) 100 /</Value>			<Nonlinearity>				<Item Value="0" X="5" Y="19" />				<Item Value="20" X="46" Y="17" />				<Item Value="35" X="27" Y="48" />			</Nonlinearity>			<Delay DegreesPerSecond="15" />		</Rotate>	</Element>	<Mouse>//		<Tooltip ID="TOOLTIPTEXT_ENG2_PROP_RPM" /><Tooltip>(%((A:PROP1 RPM, rpm))%!d! Prop RPM)</Tooltip>	</Mouse></Gauge>

Share this post


Link to post
Share on other sites

Well after more research, it seems that <Delay...> is a delay in the motion of the element (i.e. needle) as it rotates from one value (pixel pointing) to another

Share this post


Link to post
Share on other sites
Well after more research, it seems that <Delay...> is a delay in the motion of the element (i.e. needle) as it rotates from one value (pixel pointing) to another
Yes, and contrary to what you might think, lower numbers mean slower response!

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...