This paper presents the developed software configurations and control strategy of 3D measurement probe during measurement of gear profile. The total system consists of a web camera, 3D probe, work piece holder and integrated computer system through which complete control is performed. It mainly highlights the developed software features and discusses the control strategy of the 3D measurement probe in order to keep the measurement probe always align with its correct position. The system is able to record the displacement of the 3D probe in terms of X and Y coordinates value. Vision based measurement is very useful to increase the performance of the measurement. It can help to analyze the measurement result after the complete measurement is accomplished. The system also records video and saves image frames in real-time and also it's able to open the video file in offline mode. In this paper, a vision based control theory is proposed mainly for the surface error measurement of various types of gears.