Automatic high resolution measurement set-up for calibrating precise line scales