Sign in to follow this  
Guest bgood98

Needle Problem

Recommended Posts

I have a guage that has 2 elements in it.Its and Oil PSI and Temp gauge.On the top half is the PSIThe bottom is the temp.I am making the gauge in ACE XML and am using degrees to control the rotation.I want to clarify something:The needle bmp i made for the Temp part points south. or 180 degrees.the problem is moving it left and right, is it going to be all positive numbers?South = 180SE = 45SW = -45 ORSouht = 180SE = 250SW = 120?

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Your needle should point East (the standard) although it is posible to do otherwise.Then, you need to define your non-linearity correctly for clockwise vs. anti-clockwise motion.For example in the Baron Oil Condition Indicator:--(A:Eng1 oil temperature,celsius)----(A:Eng1 oil pressure,PSI)-Note that for anit-clockwise motion you reverse the order in the non-linearity table.

Share this post


Link to post
Share on other sites

If you notice the needle points well past 150 degrees. Yet it you look at the number at the top of the guage I used to compare needle to actual it shows 52. meaning the needle is WAAAYYY off lol

Share this post


Link to post
Share on other sites

omg lol.....i found something nasty out lolthat 52 i was looking at was actually 520!!!!!!!!!!

Share this post


Link to post
Share on other sites

OK I figured this all out and here is how Degrees work with ACE XMlPoints North = 0 degrees northPoints West = 0 degrees westPoints South = 0 degrees southPoints East = 0 degrees eastAs stated by Patrick is has to be set up based upon whats clockwise and counter clockwise.For Points North it works via clockwise- degrees to + degrees for the animationFor Points South its its the same.- degrees to + degrees for the animationBut here's the catchFor South animation the points are reversed for the animationSO for example the numbers on my gauge go from -50 to +150 with +50 being the center of the marks+150 = -55 degrees+100 = -40 degrees+75 = -25 degrees+50 = 0 degrees (SOUTH)+25 = +25 degrees0 = +40 degrees-50 = +55 degreesNow compare to "Points North"-50 = -55 degrees0 = -40 degrees+25 = -25 degrees+50 = 0 degrees (NORTH)+75 = 25 degrees+100 = 40 degrees+150 = 55 degreesThe animations work clockwise. So the start point has to be the 1st point in a clockwise motion!

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