Automate measurement and calibration to improve results