MFCAPI串口同步读写

上传者: 39850213 | 上传时间: 2022-04-29 21:19:00 | 文件大小: 84.43MB | 文件类型: RAR
根据网上资料的整理,写了个API收发串口的小程序,走的标准232协议,没写modbus之类的,新手上路可以学习一下通信方式,用的同步方式,因为异步方式大部分情况不需要,一般上位机很少会碰到1ms一收发速度的串口硬件。

文件下载

资源详情

[{"title":"( 47 个子文件 84.43MB ) MFCAPI串口同步读写","children":[{"title":"API串口同步读写","children":[{"title":"MFCApplication1","children":[{"title":"MFCApplication1Dlg.h <span style='color:#111;'> 976B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"MFCApplication1.cpp <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"MFCApplication1.vcxproj <span style='color:#111;'> 6.07KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc140.idb <span style='color:#111;'> 2.32MB </span>","children":null,"spread":false},{"title":"MFCApplication1Dlg.obj <span style='color:#111;'> 68.92KB </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 896.28KB </span>","children":null,"spread":false},{"title":"MFCApplication1.pch <span style='color:#111;'> 56.44MB </span>","children":null,"spread":false},{"title":"MFCApplication1.obj <span style='color:#111;'> 69.67KB </span>","children":null,"spread":false},{"title":"vc120.idb <span style='color:#111;'> 2.12MB </span>","children":null,"spread":false},{"title":"MFCApplication1.tlog","children":[{"title":"link.read.1.tlog <span style='color:#111;'> 12.78KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 6.38KB </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 802B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 8.19KB </span>","children":null,"spread":false},{"title":"MFCApplication1.lastbuildstate <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 6.64KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 162.01KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":false},{"title":"MFCApplication1.log <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"vc140.pdb <span style='color:#111;'> 6.43MB </span>","children":null,"spread":false},{"title":"vc120.pdb <span style='color:#111;'> 6.32MB </span>","children":null,"spread":false},{"title":"MFCApplication1.res <span style='color:#111;'> 68.27KB </span>","children":null,"spread":false},{"title":"MFCApplication1.Build.CppClean.log <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false}],"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 148B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 4.09KB </span>","children":null,"spread":false},{"title":"MFCApplication1.aps <span style='color:#111;'> 106.95KB </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"MFCApplication1.rc <span style='color:#111;'> 11.26KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"MFCApplication1.rc2 <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"MFCApplication1.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"MFCApplication1.h <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"MFCApplication1.vcxproj.filters <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"MFCApplication1Dlg.cpp <span style='color:#111;'> 5.84KB </span>","children":null,"spread":false},{"title":"MFCApplication1.vcxproj.user <span style='color:#111;'> 165B </span>","children":null,"spread":false}],"spread":false},{"title":"MFCApplication1.v12.suo <span style='color:#111;'> 29.00KB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"mfcapplication1-213d0fc4","children":[{"title":"mfcapplication1-918e51e7.ipch <span style='color:#111;'> 89.50MB </span>","children":null,"spread":false}],"spread":true},{"title":"MFCAPPLICATION1-d05cf6f0","children":[{"title":"MFCAPPLICATION1-e9a60727.ipch <span style='color:#111;'> 95.75MB </span>","children":null,"spread":false}],"spread":true},{"title":"MFCAPPLICATION1-fc5f2577","children":[{"title":"MFCAPPLICATION1-e9a60727.ipch <span style='color:#111;'> 95.75MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".vs","children":[{"title":"MFCApplication1","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 35.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Debug","children":[{"title":"MFCApplication1.exe <span style='color:#111;'> 211.00KB </span>","children":null,"spread":false},{"title":"MFCApplication1.pdb <span style='color:#111;'> 8.72MB </span>","children":null,"spread":false},{"title":"MFCApplication1.ilk <span style='color:#111;'> 1.30MB </span>","children":null,"spread":false}],"spread":true},{"title":"MFCApplication1.sln <span style='color:#111;'> 991B </span>","children":null,"spread":false},{"title":"MFCApplication1.sdf <span style='color:#111;'> 82.69MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明