April 17, 200521 yr 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,
April 17, 200521 yr 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
Create an account or sign in to comment