Qt实现串口通信(利用windows API实现串口枚举,多线程、生产者消费者模型实现数据解析)

上传者: chu553576656 | 上传时间: 2021-04-13 13:32:46 | 文件大小: 1.24MB | 文件类型: RAR
Qt实现串口通信(利用windows API实现串口枚举,多线程、生产者消费者模型实现数据解析);
自定义事件,向UI界面提供数据交互接口;
自定义队列,支持线程安全。

文件下载

资源详情

[{"title":"( 40 个子文件 1.24MB ) Qt实现串口通信(利用windows API实现串口枚举,多线程、生产者消费者模型实现数据解析)","children":[{"title":"SerialcomDemo","children":[{"title":"ProjectUI","children":[{"title":"mainwindow.h <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"CustomControl","children":[{"title":"mycombox.h <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"mycombox.cpp <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"mainwindow.cpp <span style='color:#111;'> 4.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"main.cpp <span style='color:#111;'> 299B </span>","children":null,"spread":false},{"title":"Image","children":[{"title":"array_down.png <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false}],"spread":true},{"title":"Public","children":[{"title":"mycustonevent.cpp <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"mycustonevent.h <span style='color:#111;'> 311B </span>","children":null,"spread":false},{"title":"global.h <span style='color:#111;'> 150B </span>","children":null,"spread":false}],"spread":true},{"title":"SerialCom","children":[{"title":"ParseWorker.h <span style='color:#111;'> 480B </span>","children":null,"spread":false},{"title":"SerialCom.cpp <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"SerialCom.h <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"ParseWorker.cpp <span style='color:#111;'> 716B </span>","children":null,"spread":false}],"spread":true},{"title":"object_script.SerialcomDemo.Release <span style='color:#111;'> 262B </span>","children":null,"spread":false},{"title":"resources.qrc <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"Makefile.Debug <span style='color:#111;'> 67.86KB </span>","children":null,"spread":false},{"title":"release","children":null,"spread":false},{"title":"SerialcomDemo.pro <span style='color:#111;'> 814B </span>","children":null,"spread":false},{"title":"SerialcomDemo.pro.user <span style='color:#111;'> 18.02KB </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 68.03KB </span>","children":null,"spread":false},{"title":"Queue","children":[{"title":"safequeue.h <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 19.76KB </span>","children":null,"spread":false},{"title":"debug","children":[{"title":"moc_mainwindow.o <span style='color:#111;'> 317.80KB </span>","children":null,"spread":false},{"title":"qrc_resources.cpp <span style='color:#111;'> 16.88KB </span>","children":null,"spread":false},{"title":"moc_SerialComWorker.o <span style='color:#111;'> 186.58KB </span>","children":null,"spread":false},{"title":"mycombox.o <span style='color:#111;'> 315.56KB </span>","children":null,"spread":false},{"title":"moc_SerialCom.cpp <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"mycustonevent.o <span style='color:#111;'> 74.25KB </span>","children":null,"spread":false},{"title":"SerialcomDemo.exe <span style='color:#111;'> 2.07MB </span>","children":null,"spread":false},{"title":"SerialCom.o <span style='color:#111;'> 268.50KB </span>","children":null,"spread":false},{"title":"moc_SerialCom.o <span style='color:#111;'> 187.24KB </span>","children":null,"spread":false},{"title":"SerialComWorker.o <span style='color:#111;'> 245.97KB </span>","children":null,"spread":false},{"title":"ParseWorker.o <span style='color:#111;'> 218.47KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 429.66KB </span>","children":null,"spread":false},{"title":"moc_mainwindow.cpp <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"qrc_resources.o <span style='color:#111;'> 7.23KB </span>","children":null,"spread":false},{"title":"moc_ParseWorker.o <span style='color:#111;'> 165.45KB </span>","children":null,"spread":false},{"title":"moc_ParseWorker.cpp <span style='color:#111;'> 4.13KB </span>","children":null,"spread":false},{"title":"mainwindow.o <span style='color:#111;'> 359.92KB </span>","children":null,"spread":false},{"title":"moc_SerialComWorker.cpp <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"object_script.SerialcomDemo.Debug <span style='color:#111;'> 242B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • ebtzjt :
    不是使用windows API实现的,使用的QT自带的串口类,骗人的
    2020-03-31
  • joy13140 :
    可以借鉴的资料
    2018-06-07
  • lmytce :
    注释太少,不太适合初学者!
    2018-01-03
  • xiekou7013 :
    没注释。。。
    2017-09-05
  • mianhu7998 :
    写的真好!谢谢您了~
    2017-05-03
  • ThinkHero :
    串口通信用的是qt自己的serialport
    2016-11-03
  • 苪秋勿言 :
    刚好解决了我的问题,注释写的非常清晰,不错!
    2015-07-21

免责申明

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