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
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