Open
Description
What's the problem this feature will solve?
High rate data can soak up a lot of CPU, especially if the PyDMChannel
is subscribed to multidimensional data.
Describe the solution you'd like
I would like to see throttling done at the basePlugin
level. Obviously there isn't that much you can do if you add a callback to a PV, but we can at least generally stop the UI from updating. There could be some way of indicating this on the channel URI itself:
ca://My:Pv/max_rate=5
Right now you can do it on the PyDMImageView
but I think the solution needs to be made more global. I would even suggest pydm
has a global max redraw rate of about 30Hz (that can be modified by the user if they think they need it)