526 views
in System Integration by
I am using Embedded wizard in STM32F429 custom board.

I am updating the graph periodically using property observer(OnEvent).

When updating the graph, always redraw the whole graph?

It takes a long time to draw the whole graph.

So it seems that the OnEvent is not called periodically.

It seems to be lost due to overlapping signals.

1 Answer

0 votes
by
Hello,

in case that the entire screen update takes more time than the OnEvent is triggered, there will be no problem, because the signal will not be delivered before the previous update is finished. This means, there will be no overlapping signals.

Concerning the performance: In case you add new data to the graph, it will be redrawn completely. This is the default implementation of the provided graph class. Of course, it is possible to create an own implementation of a graph class, that draws only the new values into a bitmap and copies the bitmap on the screen. Or the usage of vector graphics may help to improve the performance. But this depends on your particular use-case.

So let me ask some questions:

What kind of data do you want to display?

How many data values does your graph contain (number of coordinates)?

What is the size of the graph?

What update rate (frames per second) do you have / do you want to achieve?

Best regards,

Manfred.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...