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

VC中应用MSComm控件实现串口通信
引用本文:王正强.VC中应用MSComm控件实现串口通信[J].电子测试,2010(5):73-76.
作者姓名:王正强
作者单位:中北大学信息探测与处理技术研究所,太原,030051
摘    要:串行通信作为一种灵活、方便、可靠的通信方式,广泛应用于计算机与其他设备之间的通信以及工业控制系统中,是计算机与外部设备进行数据通信时经常使用的方式之一。本文介绍了MSComm控件实现串口通信的基础知识,并且研究了利用MSComm控件实现串口通信的关键技术问题,指出MSComm控件实现PC间串口通信的一般步骤,在VC++6.0环境下利用MSComm实现PC与PC之间的串口通信,最后通过一个实例给出了MSComm控件在VC++6.0串口通信中的应用。无论在工业控制中PC和单片机之间的通信,还是在2台PC之间的串口通信,都具有相同的原理。只要掌握其中的通信本质,就能灵活地实现串口通信,串口控制。

关 键 词:串口通信  MSComm控件  PC

Realization of serial port communication by MSComm control in the VC enviroment
Wang Zhengqiang.Realization of serial port communication by MSComm control in the VC enviroment[J].Electronic Test,2010(5):73-76.
Authors:Wang Zhengqiang
Affiliation:Wang Zhengqiang (Institute of Signal Caputuring , Processing Technology in North University of China,Taiyuan,030051)
Abstract:As a flexible,convenient and reliable communication,serial port communication has been used in the communication between the computer and other equipment and industrial control system.It is usually used in the data communication between the computer and other equipment.This paper not only introduces the basic knowledge of the MSComm control in the realization of the serial port communication,studies the key technology issues in the realization of serial port communication by use of MSComm control but also p...
Keywords:PC
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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