Reset graph
Posted: 25 Oct 2018, 16:02
Hello,
I want to plot data user defined and reset the graph every 10 seconds. the following code which i used it for that.
But I have failed in this mission.
could you help me please?.
Best Regards.
I want to plot data user defined and reset the graph every 10 seconds. the following code which i used it for that.
But I have failed in this mission.
Code: Select all
t=sim.getSimulationTime()
if (t%10 == 0)then
sim.resetGraph(graphHandle)
end
Best Regards.