Touch screen serial port drive design method based on calibration process under vxworks system
A serial port driver and design method technology, applied in the field of vxworks system, can solve the problems of incompatibility and inconsistency between touch screen resolution and system resolution, and achieve the effect of improving usability, ensuring interface performance, and solving compatibility problems.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0131] This embodiment provides a touch screen serial port driver design method based on the calibration process under the vxworks system, including:
[0132] (1) Configure the windml virtual mouse device, modify the configuration file of windml, add a virtual mouse pointer object to the system, convert the touch screen event into a virtual mouse event and be compatible with the use of other types of mice;
[0133] (2) Based on the calibration process, the virtual mouse is used to realize the touch screen driving event, the serial port receiving task is created to obtain the touch screen data, and the sliding window mechanism is used to reduce the packet loss rate. Calibrate the touch screen according to different resolutions, prompt the user to touch the input to adjust the calibration point information, convert the coordinate system of the touch screen into the system coordinate system and call the virtual mouse function to realize the serial port drive of the touch screen. ...
Embodiment 2
[0136] Such as figure 1 As shown, in order to solve the serial port driver problem of the touch screen under the vworks system, this embodiment adopts the implementation method based on the windml virtual mouse.
[0137] 1. Configure windml virtual mouse device
[0138] Without affecting the normal use of the system, in order to solve the problem that the system needs to be compatible with other types of mouse devices, a separate virtual mouse device is configured for the system. In the workbench integrated development environment, the windml graphical interface configuration interface does not support multiple selection of mouse types. To solve this problem, you need to modify the windml configuration file and manually add a virtual mouse device. The specific steps to configure the windml virtual mouse device are as follows:
[0139] ① Create a windml project;
[0140] ② Open the config.windml file in the project to add a display device, and add a PS2 or UBS mouse accordin...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
