摘要
串行接口由于其具有连接简单、使用方便、数据传递可靠等优点,在工业实时控制系统中得到了广泛应用.本文探讨了基于Windows98平台上利用MicrosoftCommunica tionsControl控件编写串行通信程序的方法,并结合开发实践,阐述了用C Builder5语言实现了基于ActiveX技术的串行通信编程的一般步骤.实践表明,该方法简单、可靠,从而大大缩短实时控制软件的开发周期,减少程序员的工作量.
The serial interface possesses the good qualities of connecting simply, using conveniently and data transfering credibly, so it has gained abroad appliance in realtime control system. The method of serial communication′s programming with Microsoft Communication Control in the Windows 98 platform was discussed, the approach of serial communication′s programming which was 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.
出处
《湖南大学学报(自然科学版)》
EI
CAS
CSCD
北大核心
2003年第5期100-103,共4页
Journal of Hunan University:Natural Sciences
关键词
串行通信
控件
数据采集
serial communication
MSComm Control
data collection
Windows98
C++Builder5