首页 | 本学科首页   官方微博 | 高级检索  
     

C++builder5中基于MSComm控件串口通信的编程与实现
引用本文:罗日成,李卫国. C++builder5中基于MSComm控件串口通信的编程与实现[J]. 机电工程, 2002, 19(1): 24-27
作者姓名:罗日成  李卫国
作者单位:长沙电力学院,电力系,湖南,长沙,410077
摘    要:由于串行接口具有连接简单,使用方便,数据传递可靠等优点,在工业实时控制系统中得到了广泛应用。本文探讨了基于Windows98平台上利用Microsoft Communications Control控件编写串行通信程序的方法,并结合开发实践,阐述了用C++builder5语言实现了基于ActiveX技术的串行通信编程的一般步骤,实践表明,该方法简单,可靠,从而大大缩短实时控制软件的开发周期,送还和程序员的工作量。

关 键 词:C++Builder5 程序设计 MSComm控件 串口通信程序 计算机
文章编号:1001-4551(2002)01-0024-04
修稿时间:2001-09-17

The Programming and Realization of Serial Communicationin C++builder5 Based MSComm Control
LUO Ri|cheng,LI Wei|guo. The Programming and Realization of Serial Communicationin C++builder5 Based MSComm Control[J]. Mechanical & Electrical Engineering Magazine, 2002, 19(1): 24-27
Authors:LUO Ri|cheng  LI Wei|guo
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.
Keywords:serial communication  Windows98  C++ Builder5  ActiveX control  data collection  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号