Closed white-dragon closed 4 years ago
You can lower CPU load by setting menu: Oscilloscope/Settings/Scope -> Minimal time between... to minimal 1ms. The permanent rendering is necessary because you can change the settings (e.g. voltage, timebase or trigger position) and the "static" image changes.
and why u cant render new static image when settings change?
... because this has low priority for me. You are welcome to send a pull request.
A good starting point is hantekdsocontrol.cpp#L711:
// always run the display (slowly at t=displayInterval) to allow user interaction
// ... but update immediately if new triggered data is available after untriggered
Make sure you do not miss any user intervention that could change the content of the display, i.e. voltage, timing, trigger offset and trigger position, marker, zoom, measure, ... (you get the point)
when paused on UltraHD on my I7-7700T its eats about 50% CPU (of one core) mayb it useless cyclic rendering static image?