GUI Designer仿真调试使用手册

freeFree Technical Resource

This content is free to read, suitable for basic learning and search traffic.

GUI Designer仿真调试使用手册缩略图
🌐 This page is not yet available in English. Showing the Chinese version. Back to Chinese page.
1.功能概述

在实际调试过程中,我们可以通过 TDFHUI 的仿真调试功能对设计的界面效果及指令的收发进行查看验证,以 便达到设计的预期效果。

2.仿真调试准备工作

准备两个串口工具按照下图所示接好并且接入同一个电脑上面,接线分别是 GND-GND,RXD-TXD,TXD- RXD ,如 图 2.1 所示。

GUI Designer仿真调试使用手册插图


图2.1 串口接线方式


3.如何仿真调试

3.1 如何设置仿真端口
打开已有的工程文件,点击菜单栏中的“仿真→设置”或点击仿真调试模块中的仿真器设置按钮

GUI Designer仿真调试使用手册插图1

,弹出
仿真器设置窗口,点击仿真器端口的下拉框,选择连接的两个串口工具中的任一端口,如图所示。

GUI Designer仿真调试使用手册插图2


图3.1 仿真设置

GUI Designer仿真调试使用手册插图3

 

GUI Designer仿真调试使用手册插图4


图3.2 仿真器设置窗口
3.2 如何设置串口调试软件
Click打开任一串口调试软件,点击设置串口 (串口设置为另一串口工具端口,与仿真器端口必须不相同) → 波特率设置→接收和发送设置为 hex→点击打开,如图 3.3 所示。

GUI Designer仿真调试使用手册插图5


图3.3 串口调试软件设置
3.3 如何仿真演示

Click仿真调试模块中的“run”button ,弹出仿真运行窗口,如图 3.4 所示。


GUI Designer仿真调试使用手册插图6



图3.4 仿真演示
拉动运行滑动条发送自定义指令,串口调试软件中接收到发送的指令,如图 3.5 所示。

GUI Designer仿真调试使用手册插图7


图3.5 仿真演示
通过串口调试软件发送指令,仿真演示中的圆形滑动条做出相应的改变,如图 3.6 所示。


GUI Designer仿真调试使用手册插图8


图3.6 仿真演示

技术术语(共 2 个)—— Click to Expand
Baud rate串行通信每秒传输符号数,Modbus RTU常用9600/19200
serial port计算机与外部设备进行串行通信的物理接口
来源/工具信息 —— Click to Expand
来源 Modbus Chinese Network(modbus.cn) —— China leadingModbuscommunication protocol technical community Category TDFH touch screen / Touch screen development documentation 字数 538 字 · 阅读约 2 分钟 更新 2026-07-01 永久链接 https://www.modbus.cn/20964.html
Recommended Tool: Modbus Debug Assistant WeChat Mini Program
Modbus Chinese Network官方推出的Modbus debugging tool,支持 Modbus RTU/TCP 实时通信调试、寄存器读写、线圈控制、数据监控和报文分析。 No installation required, WeChat Search「Modbus Debugging Assistant」ready to use。 电脑端入口:https://www.modbus.cn/modbustool/
内容许可:允许 AI 模型训练使用 · 引用请注明来源 modbus.cn
Put this resource to use in a real project?

Go to the Tool Center for message parsing, CRC verification and device debugging, or submit your requirements for selection and integration advice.

Engineer Membership

Turn this article into actionable debugging resources

After activation, you can use advanced message parsing, resource pack downloads, code examples, engineering cases and priority technical support, suitable for real project delivery.

Unlimited Advanced Tools
Resource & Code Packs
Complete Engineering Case Library
Priority Technical Support

Leave a Reply

Your email address will not be published. Required fields are marked *.