The Application of CSerialPort Class in the Data Acquisition System of Location and Orientatin

Xiaoming Chen · Journal of Gun Launch & Control · 2010

The problem of multi-thread serial communication would exist between position and azimuth determining device of self-propelled gun and navigation computer,and CSerialPort was the multi-threaded serial programming tool.The position and azimuth data of self-propelled gun was collected using CSerialPort class of the VC++ 6.0 software environment,and then the qualified data would be stored in the Backstage Database,which could be accessed through MFC DAO technology.The results show that:the CSerialPort class could effectively improve the mul-tithreaded serial programming efficiency,and this method has high programming efficiency,strong process controllability.So it is easy to implement multi-threaded serial communction,and has a certain application value.

Read the paper · More papers on PaperTik