免费获取|
论文天下网
  • 论文天下网 |
  • 原创毕业论文 |
  • 论文范文 |
  • 论文下载 |
  • 计算机论文 |
  • 论文降重 |
  • 论文排版 |
  • 外文翻译 |
  • 免费论文 |
  • 开题报告 |
  • 心得体会 |

当前位置:论文天下网 -> 论文范文 -> 自动化专业

基于VC++的串行通信软件的设计

本文ID:17194 字数:16162,页数:44

下载地址 全文下载链接(充值:¥118.00元) 

论文编号:ZD911    论文字数:16162,页数:44

摘 要

 串口通信因其通信线路简单、使用灵活方便 ,在许多领域应用广泛。本文主要介绍如何实现PC机与PC机之间的通信。PC机的程序设计使用VC++实现,PC机调用通用程序,控制RS-232串口,从而实现数据的收发功能。为了保证数据通信的可靠性,要制定标准的通信协议。基于串口通信和MSComm控件原理 ,详细介绍了利用VC6.0编程实现发送接收字符,并给出了具体程序和解释。设计成功后,通过PC机的一个界面上的一个按钮就能实现接收和发送,并能看到接收到的数据。不但如此,该设计还能完成别的功能,比如发送文件,自动发送数据,统计总共收发的字符或字节数以及保存文件到指定位置。
 
关键词: 串口通信,Visual C++ 6.0,MSComm控件,RS–232

ABSTRACT

 Serial communication lines of communication because of its simple, flexible and easy to use, widely used in many fields. This paper mainly introduces how to realize the PC computer and the communication between PC. PC-programming using VC + + to achieve, PC machine called generic procedures, control RS-232 serial port, send and receive data in order to achieve function. In order to ensure the reliability of data communications, it is necessary to the development of communication protocol standards. MSComm on serial communication and control theory, detailed information on programming using VC6.0 Send receive characters, and gives the specific procedures and interpretation. After the success of the design through a PC-interface will be able to achieve a button to receive and send and receive data to see. Not only that, but also the completion of the design of other features, such as send files, automatically send data to send and receive statistics on the total number of characters or bytes, as well as to save the file to the specified location.
 
Key words: Serial Communication,Visual C + + 6.0, MSComm control, RS-232

 

目录
摘 要 I
ABSTRACT II
1 引言 1
 1.1 背景 1
 1.2 研究内容 1
2 串口通信介绍 2
 2.1 串行通信接口介绍 2
 2.2 串口通信原理 2
 2.3 RS-232C串通信标准口 7
 2.4 串口通信基本接线方法 11
 2.4.1 RS232C 串口通信接线方法(三线制) 12
 2.4.2 串口调试中要注意的几点 12
3 使用MSComm控件编程 13
 3.1 MSComm控件概述 13
 3.2 MSComm工程设计常用属性 13
 3.3 MSComm 控件的触发事件 14
 3.4 MSComm错误的处理方法 15
 3.4.1 关于发送缓冲区 15
3.4.2 关于接收缓冲区 15
4 设计概要 16
 4.1 串口应用设计流程 16
 4.2 软件主要功能 16
 4.3 MSComm控件编程步骤 17
5 系统软件设计 18
 5.1 VC++ 6.0简介 18
 5.2 界面设计 18
 5.3 程序设计 19
5.3.1 创建新工程 19
5.3.2 在工程中加入MSComm控件 19
5.3.3 界面及参数设置 20
5.3.4 程序控制 20
5.3.5 实际传输文件截图 35
6 总结 37
致 谢 38
参考文献 39

相关论文
上一篇:西门子LOGO!通用逻辑控制模块的.. 下一篇:基于GSM MODEM的综合信息服务平台
推荐论文 本专业最新论文
Tags:基于 串行 通信软件 设计 2011-04-02 18:50:07【返回顶部】

相关栏目

自动化专业
电子机电类
测控技术
机械模具设计
金融专业
电子通信
交通工程专业
英语专业
会计专业
政治学行政学
财务管理
国际贸易
法律专业
社会工作专业
物流论文
人力资源
食品科学生物技术
市场营销
土木工程
化学工程与工艺
旅游管理专业
工商管理
工程管理
其他专业论文


关于我们 | 联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 原创毕业论文

 

论文天下网提供论文检测,论文降重,论文范文,论文排版,网站永久域名WWW.GEPUW.NET

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 893628136@qq.com

Copyright@ 2009-2022 GEPUW.NET 论文天下网 版权所有