This study presents a proposed technique for displacement measurement in linear horizontal motion. The measurement system consists of a lines can sensor with built in illumination system, grating scale and an ultrasonic sensor. Once, the linescan transducer scans the grating scale optically, the displacement of the transducer is measured based on pixel shifting method. Additionally, the role of the ultrasonic sensor is to add the reference position for the linescan transducer and the current position in case of missing the position. The linescan transducer design includes; the illumination source and the division of the grating scale. The accuracy of the measurements is compared to white and infrared lights. After that, the comparison is built based on three scale divisions which are 0.5, 1 and 2 mm. Finally, the accuracy also is compared to different travelling ranges of motion. The displacement measurements of the proposed transducer is evaluated comparatively to Optiv Light Measurement (OLM) device.