An automatic fringe counting interferometer for use in the calibration of line scales