节点文献
C++builder5中基于MSComm控件串口通信的编程与实现
The Programming and Realization of Serial Communication in C++builder5 Based MSComm Control
【摘要】 由于串行接口具有连接简单、使用方便、数据传递可靠等优点 ,在工业实时控制系统中得到了广泛应用。本文探讨了基于Windows98平台上利用MicrosoftCommunicationsControl控件编写串行通信程序的方法 ,并结合开发实践 ,阐述了用C + +builder5语言实现了基于ActiveX技术的串行通信编程的一般步骤。实践表明 ,该方法简单、可靠 ,从而大大缩短实时控制软件的开发周期 ,减少程序员的工作量。
【Abstract】 Serial interface possesses the good qualities of connecting simply, using conveniently and data transfering credibly, so it has gained abroad appliance in real\|time control system. In this paper, the method of serial communication’s programming with Microsoft Communication Control in the Windows 98 platform is discussed, the approach of serial communication’s programming which is based on the technique of ActiveX in C++ Builder5.0 is expatiated. The method is simpleness and credibility. It can shorten programming period greatly and reduce the work of the programmer.
【Key words】 serial communication; Windows98; C++ Builder5; ActiveX control; data collection;
- 【文献出处】 机电工程 ,Mechanical & Electrical Engineering Magazine , 编辑部邮箱 ,2002年01期
- 【分类号】TP311.52
- 【被引频次】13
- 【下载频次】310