GUI Designer Simulation Debugging User Manual

freeFree Technical Resource

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

GUI Designer Simulation Debugging User Manual
1. Functional Overview During the actual debugging process, we can utilize the simulation debugging function of GVSUI to inspect and verify the interface effects and the transmission and reception of instructions, in order to achieve the desired design outcomes. 2. Preparation for Simulation Debugging Prepare two serial port tools and connect them as shown in the figure below, ensuring they are plugged into the same computer. The connections should be made as follows: GND-GND, RXD-TXD, TXD-RXD, as depicted in Figure 2.1.
GUI Designer Simulation Debugging User Manual插图
Figure 2.1 Serial Port Wiring Method 3. How to Simulate and Debug 3.1 How to Set the Simulation Port Open an existing project file and click on "Simulation → Settings" in the menu bar or click the simulator settings button in the simulation debugging module
GUI Designer Simulation Debugging User Manual插图1
. This will bring up the simulator settings window. Click the dropdown box for the simulator port and select either port from the two connected serial port tools, as shown in the figure. In the simulator settings window, click the dropdown box of the simulator port, and select any of the two connected serial port tools as shown in the figure.
GUI Designer Simulation Debugging User Manual插图2
Figure 3.1 Simulation Settings
GUI Designer Simulation Debugging User Manual插图3
 
GUI Designer Simulation Debugging User Manual插图4
Figure 3.2 Simulator Settings Window 3.2 How to set up serial port debugging software Click to open any serial port debugging software, click to set up the serial port (set the serial port to another serial tool port, which must be different from the simulator port) → baud rate setting → set receiving and transmitting to hex → click to open, as shown in Figure 3.3.
GUI Designer Simulation Debugging User Manual插图5
Figure 3.3 Serial port debugging software settings 3.3 How to simulate and demonstrate Click the "Run" button in the simulation debugging module to pop up the simulation running window, as shown in Figure 3.4.
GUI Designer Simulation Debugging User Manual插图6
Figure 3.4 Simulation demonstration Pull the running slider to send a custom command, and the serial port debugging software receives the sent command, as shown in Figure 3.5.
GUI Designer Simulation Debugging User Manual插图7
Figure 3.5 Simulation demonstration Send a command through the serial port debugging software, and the circular slider in the simulation demonstration makes corresponding changes, as shown in Figure 3.6.
GUI Designer Simulation Debugging User Manual插图8
Figure 3.6 Simulation demonstration
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 *.