Home > Net >  Teechart large amounts of data in real time curve
Teechart large amounts of data in real time curve

Time:10-20

Real-time curve drawing through teechart, receiving 100 KHZ sampling rate of the discrete data, and real-time display, I through AddArray add data, and cancel the DrawAllPoints, but around 4, 5 s display speed will slow down, so I want to ask next everybody have any solution,

CodePudding user response:

Or the method of data extraction, or other controls,

CodePudding user response:

Winfrom under the control of efficiency should be of the highest..

His paintings, it is too trouble... No other way

CodePudding user response:

If the data source is high frequency, can adopt the method of sampling, according to
Similar to display only the trend of the data, if you want to see more detailed data,
Provide users with the function of the area magnification

CodePudding user response:

reference xian_wwq reply: 3/f
if the data source is high frequency, can adopt the method of sampling, according to
Similar to display only the trend of the data, if you want to see more detailed data,
Provide users with the function of the area magnification

Data extraction, what better way is there is a fixed interval before I extract the data, but this effect is very poor, the wave

CodePudding user response:

reference 4 floor sorrow_18 response:
Quote: reference xian_wwq reply: 3/f

If the data source is high frequency, can adopt the method of sampling, according to
Similar to display only the trend of the data, if you want to see more detailed data,
Provide users with the function of the area magnification

Data extraction, what better way is there is a fixed interval before I extract the data, but this effect is very poor, the wave form

Fixed interval pumping number is sure to write mutation data loss, can use relatively simple eigenvalue extraction,
Each time period to take three characteristic value:
The start time of the value, the maximum time period, within the period of the minimum

CodePudding user response:

Excuse me AddXY () loop tracing point long CPU usage increase what function method can release AddXY (generation) of memory

CodePudding user response:

A large number of high speed data in fact you don't need real-time display detailed diagram, do you think about: if you use special hardware and code displayed that the cow force, what are you going to do? See the high spot to stop? Can you hand speed up to 100 KHZ?
So said, so the high frequency data real-time visualization of the demand itself should be doing.
Suggestion: first collected data cached or persistence, ensure the integrity of the data, visualization can be asynchronous, and consider visualization scheme optimization, using pyramid visualization scheme: specific ideas can refer to the map zoom mechanism: a wide range of preview data can only take part of the data visualization (such as the interface of each extraction only 10000 groups of data for display), the details can be magnified when rendering.

CodePudding user response:

In addition, there is a concept called "data sampling", can use appropriate sampling methods, before the data visualization, to the reasonable sampling of data, such as "stratified sampling", reduce unnecessary computation

CodePudding user response:

Use the data stack structure, quantitative data store only 500 points, for example, number of first in first out, lose all,

Use TeeChart wrote oscilloscope, a few days are never stuck

CodePudding user response:

Ok, thank you for your advice, it's really something wrong with the idea of before, behind me to change,

CodePudding user response:

Live. The curve of the charts for real-time monitoring of voltage, current, not slow

CodePudding user response:

Could you tell me the building Lord, you are displaying real time curve, no curve jitter flickering problems?
  •  Tags:  
  • C#
  • Related