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

Method for implementing embedded type pointer virtual instrument

A technology of a virtual instrument and an implementation method, which is applied in the field of embedded pointer type virtual instrument implementation, can solve problems such as large memory capacity, and achieve the effects of simple program, strong versatility, and improved stability and real-time performance.

Inactive Publication Date: 2014-11-26
XIDIAN UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen from here that the required memory capacity is huge, which is undoubtedly a major challenge for embedded systems with limited memory affected by factors such as cost and volume.

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
  • Method for implementing embedded type pointer virtual instrument
  • Method for implementing embedded type pointer virtual instrument
  • Method for implementing embedded type pointer virtual instrument

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] refer to figure 1 , the flow chart of the dynamic pointer implementation program in Embodiment 1 of the present invention. image 3 , is a schematic diagram of the dial and pointer pictures of the present invention, 301 is a dial picture, and 302 is a pointer picture. The present invention is applicable to any color picture. In this embodiment, it is assumed that the size of the dial picture is 100*100, and the size of the pointer picture is 60*60.

[0043] A method for realizing an embedded pointer virtual instrument is characterized in that it at least includes the following steps:

[0044] Step 100: Make digital dial pictures and instrument pictures satisfying different angles;

[0045] Here use the GLstudio tool software to make the required digital dial pictures and instrument pictures that meet different angles.

[0046] Step 101: storing the pixel value data of the digital dial picture produced in the memory; using MATLAB software to obtain the RGB pixel value...

Embodiment 2

[0073] Embodiment 2: The difference with Embodiment 1 is that the program ends after displaying the picture of the real-time pointer position, and does not need to continuously detect the external pointer change information, so Embodiment 2 can be used as a user to realize the pointer in a general embedded system. The subroutine of the type virtual instrument. (refer to figure 2 )

[0074] Step 200: the execution method is the same as step 100;

[0075] Step 201: the execution method is the same as step 101;

[0076] Step 202: the execution method is the same as step 102;

[0077] Step 203: the execution method is the same as step 103;

[0078] Step 204: the execution method is the same as step 104;

[0079] Step 205: the execution method is the same as step 105;

[0080] Step 206: the execution method is the same as step 106;

[0081] Step 207: the execution method is the same as step 107;

[0082] Step 208: The display of the real-time pointer position picture is co...

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 discloses a method for implementing an embedded type pointer virtual instrument. The method at least comprises the steps of producing a digital dial picture and instrument pictures of different angles; saving pixel value data of the produced digital dial picture into a storage; acquiring digital pointer structure data of different angles by using instrument pictures of different angles and saving the digital pointer structure data into the storage; displaying a pointer-free data dial picture which is read out from the storage and enabling the picture to serve as a background; enabling a dynamic instrument to start displaying at a current angle position of a pointer; acquiring real-time electrical information which is required to be displayed by the pointer; determining the corresponding pointer in a pointer picture library according to the electrical information which is required to be indicated by the pointer; and enabling a system to read out pointer structural body data of the pointer at corresponding positions from the storage, and displaying a pointer picture corresponding to the pointer. According to the method, only a few effective data of a large amount of pointer pictures are required to be stored, data memory quantity is greatly reduced, and a large amount of system internal memory is saved.

Description

technical field [0001] The invention relates to a method for realizing a virtual instrument, in particular to a method for realizing an embedded pointer type virtual instrument. Background technique [0002] The introduction of embedded technology makes instrumentation develop towards the direction of automation and intelligence, which has become a trend of today's instrumentation system. Today, embedded virtual instruments are also closely related to people's production and life, such as the automotive field and the cockpit display field of avionics systems. The traditional embedded pointer virtual instrument is realized through layer replacement and software algorithm simulation. The software algorithm simulation method to realize the virtual instrument program algorithm is relatively complicated, and the real-time display is not enough to cause image jitter, the dynamic effect cannot be realistic, and the display screen is relatively rough. The implementation of layer r...

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 Patents(China)
IPC IPC(8): G06F12/02
Inventor 刘贵喜何振响邓勇杨威曲鸿超
Owner XIDIAN UNIV