摘要
分析了双机通信的各种方法 ,提出了一种新的串口通信类 .将串口异步收发模式、多线程、数据共享等功能封装 .采用VC ++编程工具和面向对象的编程方法 ,设计出具有开放性、通用性、易于调试的数据通信程序 .
Based on the comparison of common approaches for serial communication, a new and effective class for serial communication is proposed, which encapsulates the asynchronous model, multithreading and data sharing. By means of VC++ and OOP, this class is opening, reusable, friendly and proved to be reliable and effective in applications.
出处
《河南农业大学学报》
CAS
CSCD
2002年第3期298-301,共4页
Journal of Henan Agricultural University
基金
河南省科技攻关项目 ( 0 0 114 0 12 0 )