GRAPH YT - draw as fast as possible

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • GRAPH YT - draw as fast as possible

    Hello!
    I have question about Graph widget.
    When i tried to add values to graph I can see it is too slow for me. Is there any possibility to draw it very fast? I get data very fast and I want to draw all.
    For example: is it possible to collect data for one screen in memory and then put it on screen?

    Thanks

    The post was edited 1 time, last by paw39 ().

  • Hello,

    This does not require an example. The function WM_SetCreateFlags() set create flags to be used for all windows which are created in the following. Please make sure to have enough memory for the Memory Device usage. Details about Memory Devices can be found in the emWin user manual.

    Best regards,
    Adrian
  • I found out that I can use function GRAPH_DATA_YT_Create and attach data to graph. It is better because I can add array. But it is possible to do this in loop:

    1.Collect data in array
    2.attach data to graph.
    1.Collect data in array
    2.attach data to graph..
    1
    2
    1... etc

    I am not sure if Graph widget can do this fast enough or if I need to just use function GUI_DrawGraph()..