Hi Stefan,
I'm working and testing the behaviour of the plots over long periods of time (hours). I've observed that the script suffers updating plots when you have 4/8 channels and thousands of data per channel.
I've decreased successfully the plot update rate by introducing a script-callable setUpdateInterval() function.
This is the source in scriptplotwidget.cpp.
/** * Redefine the plot update interval. */
voidScriptPlotWidget::setUpdateIntervalSlot(longms){if(ms>=100){m_plotTimer->setInterval(ms);}}
I've also updated the signals/slots in scriptplotwidget.cpp, scriptplotwidget.h and scriptplotwindowt.h
You could have a different refresh interval for every plot window (or widget). I.e. you can do a very fast refresh in DSO applications or slow in long data acquisitions
Cheers,
Pier Andrea.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "User Contributions" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi Stefan,
I'm working and testing the behaviour of the plots over long periods of time (hours). I've observed that the script suffers updating plots when you have 4/8 channels and thousands of data per channel.
I've decreased successfully the plot update rate by introducing a script-callable setUpdateInterval() function.
This is the source in scriptplotwidget.cpp.
I've also updated the signals/slots in scriptplotwidget.cpp, scriptplotwidget.h and scriptplotwindowt.h
You could have a different refresh interval for every plot window (or widget). I.e. you can do a very fast refresh in DSO applications or slow in long data acquisitions
Cheers,
Pier Andrea.
Hi Pier,
I have overlooked your post :-). I will add this function in the next release (3.29).
Best regards,
Stefan