Sign in to follow this  
Guest BBryant

Non-Linearity Tables in C Gauges

Recommended Posts

Hi all,Just starting to make C gauges and have got a question...Are non linearity tables only for use with the MAKE_NEEDLE macro, or can I use them with MAKE_MOVING? If so how?Many thanks,

Share this post


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

Don't think that's possible.I'm afraid they're for exclusive use with needles.

Share this post


Link to post
Share on other sites

You can get around that by using ratios. For example, in a VSI;From 0-1000 fpm, each 200 FPM is 10 pixels. 2000 and up, each 200 fpm is 5 pixels.The scale factor in MAKE_MOVING would be 0.05 (10/200).In your callback function;if(val > 0 && val <= 1000) return val;if(val > 1000) return 1000 + (val - 1000) * 0.5

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