Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Pending Publication Date: 2020-11-03
TIANJIN JINHANG COMP TECH RES INST
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above method does not solve the problem that the resolution of the touch screen is inconsistent with the resolution of the system, and is not compatible with other types of usb devices on the host, and cannot solve the problem of serial port type touch screen drivers
[0004] In order to solve the touch screen serial port driver problem under vxwork, solve the resolution incompatibility problem, and realize the touch movement event, it is necessary to propose a touch screen serial port driver design method based on the calibration process

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Touch screen serial port drive design method based on calibration process under vxworks system

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the technical field of vxworks systems, and particularly relates to a touch screen serial port drive design method based on a calibration process under a vxworks system. The method comprises the following steps: firstly, configuring windml virtual mouse equipment; secondly, realizing a touch screen driving event by adopting a virtual mouse based on a calibration process: creating a serial port receiving task to analyze a touch screen protocol message, acquiring contents of four coordinate points touched by a user, and analyzing calibrated reference point information; and then, converting the coordinate points of the touch event into system screen coordinate points by utilizing the calibration point information and combining the screen resolution, and finally, calling the mouse event of the virtual mouse equipment to achieve the purpose of driving the touch screen.

Description

technical field [0001] The invention belongs to the technical field of vxworks system, and in particular relates to a touch screen serial port driver design method based on a calibration process under the vxworks system. Background technique [0002] With the continuous advancement of electronic technology and the continuous evolution and change of human-computer interaction methods, single-touch counting of resistive touch screens is widely used. The continuous improvement of the reliability and service life of the resistive touch screen also makes the terminal equipment using touch screen technology gradually increase in the field of ship automation. [0003] Vxworks is an operating system widely used in high-tech and real-time demanding fields such as communications, military, and aerospace. Although it provides an event-oriented message processing mechanism for human-machine interface devices, it does not develop touch screen drivers. Provide development content. In ord...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/041
CPCG06F3/0418
Inventor 高娟
Owner TIANJIN JINHANG COMP TECH RES INST