网站地图| 免费获取|
毕业论文网
  • 网站首页|
  • 论文范文|
  • 论文降重|
  • 职称论文发表|
  • 合作期刊|
  • 论文下载|
  • 计算机论文|
  • 外文翻译|
  • 免费论文|
  • 论文资料|
  • 论文开题报告
搜索

当前位置:毕业论文网 -> 论文范文 -> 自动化专业 -> 基于VC++的串行通信软件的设计
自动化论文范文| 电子机电论文| 测控技术论文| 通信专业论文| 电气工程论文| 通信工程论文| 电子信息工程论文| 免费自动化论文| 免费电子论文| 免费电气论文| 免费通信论文

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

本文ID:LW17194 字数:16162,页数:44 价格:¥118.00 → 信用说明

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

文档编号: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

基于VC++的串行通信软件的设计由毕业论文网(www.huoyuandh.com)会员上传。
原创论文资料流程 相关论文
上一篇:西门子LOGO!通用逻辑控制模块的.. 下一篇:基于GSM MODEM的综合信息服务平台
推荐论文 本专业最新论文
Tags:基于 串行 通信软件 设计 2011-04-02 18:50:07【返回顶部】
发表论文

联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 硕士论文资料


毕业论文网提供论文范文,论文代发,原创论文资料

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

Copyright@ 2009-2020 毕业论文网 版权所有