Application of Visual C++ in Communication Control of Laser Distance Sensor
Xuan Hua · Control Engineering of China · 2005
For data acquisition of laser distance sensor in wing's cross section measuring system, the principle of asynchronous serial communication realized by Visual C + + is introduced. Several serial communication programming methods in Visual C + + are discussed. The class Win32Port which is composed of the serial communication Win32 API is given, the serial communciation between PC and laser distance sensor is achieved by this class. The example show that the method is convennient to realize control of laser distance sensor and has good applicability.