freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

畢業(yè)論文基于c的rs232通信協(xié)議模擬終端(已修改)

2024-09-13 10:50 本頁(yè)面
 

【正文】 基于 C++的 RS232 通信 協(xié)議模擬終端 Analog Terminal The RS232 Communication Protocol Based On C++ 2020 年 06 月密級(jí):公開 I 摘 要 隨著科技的迅猛發(fā)展 ,通信技術(shù)已經(jīng)成為社會(huì)經(jīng)濟(jì)、環(huán)境、 生活、工作、學(xué)習(xí)不可缺少的一部分 。通信的方式多種多樣,以何種方式實(shí)現(xiàn)通信主要取決于通信 設(shè)備。在工業(yè)控制系統(tǒng)和實(shí)驗(yàn)室中, 由于串行通信具有實(shí)現(xiàn)簡(jiǎn)單、使用靈活方便等優(yōu)點(diǎn),串行通信是計(jì)算機(jī)與外部設(shè)備進(jìn)行數(shù)據(jù)通信時(shí)經(jīng)常使用的方 式之一。 圍繞串行通信技術(shù),本文 主要 介紹了串行通信 接口 ——RS232 標(biāo)準(zhǔn)串口,闡述 了RS232 串行通信基本原理和 CRC 校驗(yàn) ,通過(guò) VC 界面編程實(shí)現(xiàn)串行通信。 傳輸過(guò)程中通過(guò) CRC 對(duì)數(shù)據(jù)進(jìn)行校驗(yàn)。 在研究 RS232 串行通信原理中,主要介紹了 RS232 標(biāo)準(zhǔn)協(xié)議、串口以及串口通信原理。 詳細(xì)的分析了幾種主要的通信參數(shù)。 按照其工作原理及 RS232 串口的 標(biāo)準(zhǔn)協(xié)議最終采用串行全雙工的方式實(shí)現(xiàn)其通信,本文中的接口使用的是 計(jì)算機(jī)上的 USB 口 。 在軟件實(shí)現(xiàn)方面,本設(shè)計(jì)在比較了多種方法之后,最終選擇了基于 C++的 MFC 應(yīng)用程序。利用 MSComm ActiveX 串行通信控件來(lái)實(shí)現(xiàn)串行通信。文中詳細(xì)地介紹了 VC下的 Windows 平臺(tái)先進(jìn)的 ActiveX 控件技術(shù),即 MSComm 控件等。最終實(shí)現(xiàn)了兩臺(tái)PC 間的串行通信。 串行通信以其成本低、結(jié)構(gòu)簡(jiǎn)單等優(yōu)點(diǎn)被人們廣泛應(yīng)用。用 RS232 協(xié)議實(shí)現(xiàn)兩臺(tái)PC 機(jī)間的串行通信為以后實(shí)現(xiàn)更加復(fù)雜的設(shè)備間通信奠定了基礎(chǔ)。 關(guān)鍵詞: RS232 標(biāo)準(zhǔn) ;串行通信; C++; CRC 校驗(yàn) II Abstract With the rapid development of science and technology, munication technology has bee an indispensable part of social economy,environment,living and learning. There are many kinds of munication selection of munication mode mainly depends on the munication industrial control systems and munication is widely used in puter and external equipment due to the simple and flexible advantage. Around serial munication technology, this paper mainly introduces the serial munication interface RS232 serial port, and expounds the basic principle of RS232 serial munication and CRC , realize serial munication through VC programming. During the process of transmission through the CRC to check the data. In the study of RS232 serial munication principle, this design mainly introduces the principle of serial munication, serial port and RS232 protocol, and analyzes munication parameters in RS232 serial port and working principle,this design adopted to serial fullduplex mode to realize this article ,the interface is the USB port on the PC. In the aspect of software realization,this design select the MFC application program based on C++ after several methods are realize the serial munication by using MSComm ActiveX serial munication article introduces the ActiveX control technologyMSComm ,the design realize serial munication between two puters. Because of the advantages of low cost and simple structure,serial munication is widely used by of serial munication between two PC machine is the foundation of realizing more plex munication. Keywords: motor。 RS232protocol。 Serial Communications。 C++。 CRC Cyclic Redundancy Check I 目 錄 摘 要 ..................................................................................................................................... I Abstract ...................................................................................................................................... II 第 1 章 緒論 .............................................................................................................................. 1 課題的研究意義 ......................................................................................................... 1 研究現(xiàn)狀及發(fā)展趨勢(shì) ................................................................................................. 2 RS232 串行通信的研究現(xiàn)狀 ........................................................................... 2 RS232 串行通信的發(fā)展趨勢(shì) ........................................................................... 2 本文主要的研究?jī)?nèi)容 ................................................................................................. 2 第 2 章串行通信基本原理 ........................................................................................................ 4 RS232 通信協(xié)議 .......................................................................................................... 4 RS232 標(biāo)準(zhǔn) ....................................................................................................... 4 RS232 接口 ....................................................................................................... 4 串行通信 ..................................................................................................................... 5 串行通信基本原理 .......................................................................................... 5 串行通信參數(shù) .................................................................................................. 6 串行通信的分類 ...................................................................................................... 7 串口的調(diào)制 ................................................................................................................. 8 串口連接 .......................................................................................................... 8 串口調(diào)試 .......................................................................................................... 9 本章小結(jié) ................................................................................................................... 10 第 3 章 CRC 校驗(yàn) ................................................................................................................... 11 CRC 校驗(yàn)原理 ........................................................................................................... 11 CRC 校驗(yàn)碼的基本原理 ................................................................................ 11 CRC 校驗(yàn)碼權(quán)的形式 .................................................................................... 12 CRC 校驗(yàn)的實(shí)現(xiàn) ....................................................................................................... 13 本章小結(jié) .................................................................................................................... 13 第 4 章 軟件的實(shí)現(xiàn)及其測(cè)試 ................................................................................................ 14 開發(fā)工具概述 ........................................................................................................... 14
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
公安備案圖鄂ICP備17016276號(hào)-1