GRAPH_DATA_YT_AddValue - Problem in WM

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

    • GRAPH_DATA_YT_AddValue - Problem in WM

      Hello,

      in my application (using STemWin 5.40 and Window Manager) I need a graph to display various waveforms.

      I construct the initial graph with NULL Data and add 192 Points with GRAPH_DATA_YT_AddValue. This works fine. But when I update the graph with GRAPH_DATA_YT_AddValue (using WM_Timer) the app freezes immediately. If I declare GRAPH_DATA_Handle hData as static (Line 155) the app runs for 1 - 20 secs and freezes. I suppose a wrong declaration or a memory problem.

      By the way, what is the best way to do complex real time calculations in the background without loosing the quick touch response of the Windows Manager?

      Thank you very much in advance for help!

      Dave
      Files
      • WindowDLG.txt

        (8.62 kB, downloaded 503 times, last: )