In precision machining, the TS-C series spectroscopic confocal displacement sensor is used to measure the flatness of workpieces. By installing it on a coordinate measuring machine (CMM) or other automated inspection equipment, the sensor can scan the surface of the workpiece along a predetermined path and record height data in real-time. After processing this data, detailed flatness reports are generated to help engineers identify and correct machining errors, ensuring product quality.