Qt编写串口调试助手V2016终结版

上传者: hjfzbj | 上传时间: 2019-12-21 19:52:50 | 文件大小: 50KB | 文件类型: zip
与硬件通信的程序基本上要用到串口,虽然qt5以后集成了串口通信类,但是个人觉得那个串口通信类有点问题,在linux上表现很好,windows上大数据会有怪怪的问题出现,而且只能在qt5以上的版本才能用,无奈大部分的嵌入式linux上还停留在4.7.1到4.8.5左右的版本,所以本人一直喜欢用第三方的串口通信类做处理。 程序调试中经常需要串口调试,甚至还需要模拟设备数据回复,甚至串口转网络出去,特意将这些常用功能都做到一个串口调试助手中去。 基本功能: 1:支持16进制数据发送与接收。 2:支持windows下COM9以上的串口通信。 3:实时显示收发数据字节大小以及串口状态。 4:支持任意qt版本,亲测4.7.0 4.8.5 4.8.7 5.4.1 5.7.0 5.8.0。 5:支持串口转网络数据收发。 高级功能: 1:可自由管理需要发送的数据,每次只要从下拉框中选择数据即可,无需重新输入数据。 2:可模拟设备回复数据,需要在主界面开启模拟设备回复数据。当接收到设置好的指令时,立即回复设置的回复指令。例如指定收到0x16 0x00 0xFF 0x01需要回复0x16 0x00 0xFE 0x01,则只需要在SendData.txt中添加一条数据16 00 FF 01:16 00 FE 01即可。 3:可定时发送数据和保存数据到文本文件:,默认间隔5秒钟,可更改间隔时间。 4:在不断接收到大量数据时,可以暂停显示数据来查看具体数据,后台依然接收数据但不处理,无需关闭串口来查看已接收到的数据。 5:每次收到的数据都是完整的一条数据,而不是脱节的,做了延时处理。 6:一套源码随处编译,无需更改串口通信类,已在XP/WIN7/UBUNTU/ARMLINUX系统下成功编译并运行。

文件下载

资源详情

[{"title":"( 22 个子文件 50KB ) Qt编写串口调试助手V2016终结版","children":[{"title":"com","children":[{"title":"frmcomtool.h <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"main.qrc <span style='color:#111;'> 92B </span>","children":null,"spread":false},{"title":"main.ico <span style='color:#111;'> 90.68KB </span>","children":null,"spread":false},{"title":"frmcomtool.ui <span style='color:#111;'> 14.47KB </span>","children":null,"spread":false},{"title":"main.rc <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 283B </span>","children":null,"spread":false},{"title":"com.pro <span style='color:#111;'> 818B </span>","children":null,"spread":false},{"title":"myhelper.h <span style='color:#111;'> 18.68KB </span>","children":null,"spread":false},{"title":"qextserialport","children":[{"title":"qextserialport_unix.cpp <span style='color:#111;'> 13.22KB </span>","children":null,"spread":false},{"title":"qextserialport_p.h <span style='color:#111;'> 6.22KB </span>","children":null,"spread":false},{"title":"qextserialport_global.h <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"qextserialport_win.cpp <span style='color:#111;'> 13.06KB </span>","children":null,"spread":false},{"title":"qextserialport.h <span style='color:#111;'> 6.76KB </span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"qextserialport.cpp <span style='color:#111;'> 30.73KB </span>","children":null,"spread":false},{"title":"qextserialport.pri <span style='color:#111;'> 257B </span>","children":null,"spread":false}],"spread":true},{"title":"file","children":[{"title":"send.txt <span style='color:#111;'> 484B </span>","children":null,"spread":false},{"title":"device.txt <span style='color:#111;'> 9.46KB </span>","children":null,"spread":false}],"spread":true},{"title":"app.h <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"app.cpp <span style='color:#111;'> 5.25KB </span>","children":null,"spread":false},{"title":"frmcomtool.cpp <span style='color:#111;'> 16.47KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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