269 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

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...