| Embedded products have been popular in various fields, and have become an integral part of life, whether all kinds of automatic service terminal or medical electronic instrument, can not be separated from the embedded system. With the increase of its range of applications, a growing need for these embedded devices configured a graphical user interface, which is beautiful, simple,and easy to operate. So that users can use embedded products more easily and intuitively. No need for the professional guidance is the main research target of interface design, and is also the main way to make the embedded equipment more practical and popular.In this paper, the project application is the pathological tissue processing system, because the equipment in the major hospitals is relatively backward, and basically rely on imports, so that increase the national consumption for medical treatment. On the other hand, the organization needs to deal with many machines to complete pre-processing, increased the processing time,and reduced the hospital work efficiency. In order to reduce costs and speed up the process, we developed a tissue processor that on set fixation, dehydration, dipping wax and wax in one machine. It really did the full automation of the organization, greatly reduced the difficulty of the medical staff, and reduced the possibility of the treatment agent leakage, improve the safety of the operator. In addition, the automatic processing reduces the processing time, improve the working efficiency, so that the hospital on the day out of the test results become possible.Based on the embedded Linux system, use Qt to develop a fully automated pathology processor host computer system. Man-machine interface of this system consists of several modules, including the dehydration treatment, manual sealing wax, cleaning, sewage, data export and use the help module. I have designed a simple and beautiful interface, and completed the programming of each function module. Industrial control system control relay board, signal acquisition board, rotary valve control panel and ultrasonic power amplifier board. The master communicates with the slave through the serial port, and uses the standard modbus protocol.The paper is introduced in detail from the following parts:First, this paper introduces the research significance of the embedded GUI, and the embedded GUI development present situation and prospect of comparative analysis, finally, the paper summarizes the main work to do.Second, introduces the system hardware and software platform, explains the choice the reason and the main mechanism of Qt, completed the construction of the cross development environment and the transplantation of the Linux operating system in embedded development board.Third, introduces the working content and research significance of pathological tissue processor, made a general summary to this system as a whole framework, it consists of a engineering control host and four from the unit into the host by 485 bus from the machine control, and account for all from the function of machine is simple.Fourth, various operation interface of the module design is introduced and its working process, consider the aesthetics and simplicity of operation interface, the interface of the whole system with Qss beautification.Fifth, the communication part of the system is described in detail, introduces its communication interface, communication protocol, the transplantation of free Modbus and heartbeat signal design and part of the communication code examples.Finally, put forward the test scheme of the whole system, first in the PC serial port device respectively through the USB connection from each machine, communication data transceiver is normal after adjustment, all from the machine mounted on the bus, to test and improve the working process of the whole system. |