摘要
以实际应用中串口通信的开发为例,分析了实时串口通信中数据的获取及处理方法。此例中要求接收雷达串口的数据并进行校验。过比较几种串口通信的编程方法,提出了基于Visual C++中SerialPort串口类的解决方案,并阐述了应用程序的编写过程。
Taking the actual application of the development of the serial communication for example,it analyzed the method of gaining and processing real-time data in serial communication.In this case it is required to receive and check the radar data.Through the comparison of several programming methods of serial communication,it worked out the solution which is based on SerialPort class of Visual c++,and expounded the writing process of the application program.
出处
《电脑知识与技术》
2011年第8X期5921-5922,5927,共3页
Computer Knowledge and Technology