Line testing equipment is the key to one of the automatic control system subsystem. General Instruments automated test equipment mainly consists of three parts: ① sensor for detecting analog; ② transmitter, the analog signal into measured by the sensor is 4 ~ 20 mA current signal; ③ display the measurement results visually displayed, providing results. These three parts together organically, the lack of which no part complete. Automated instrumentation obtained in industrial production in a wide range of applications, and online testing equipment within the instrument has an interface with the computer, more automated control system is an important part, is called the automated control system in the eye. Automated testing equipment to complete the task is to light signals into electrical signals that can be recorded, to complete such a photoelectric conversion function has a CCD, charge-coupled device) type devices, CMOS, Complementary Metal Oxide Semiconductor) type of equipment and the PSD, semiconductor position sensitive detector) equipment. Our equipment selection CCD as the image capture device. CCD type device with respect to the class CMOS device with low noise and high sensitivity. CCD surface into formation and CCD linear array CCD, we use the surface of the formation. By a CCD image sensor formation surface of the photosensitive area, and an output signal storage region transfer part, the light source can feel the photosensitive area of ??the target object, and converted into electrical charges, and then outputs an electrical signal through the shift register. Because the CCD is the formation of the surface, so they need through the horizontal and vertical shift register output signals.