-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Real time plotting. Any recommendations? #12
Comments
That's exactly how we do it.
Well, yes, large data sets take a few moments to load. We have client-side wrappers representing a data set which manage fetching data in reasonable chunks, etc.
Doesn't sound like it.
I suppose that's possible, but it hasn't been necessary for us. We use a combination of tools for plotting. Our most time honored one is a legacy program written in Delphi. We are phasing that out in favor of a web-based system (which functions almost exactly as you've proposed). We have also used PyQT with the associated matplotlib plug-ins for logging cryostat temperature, pressure, etc. |
For fast plotting pyqtgraph is decent. I use this for displaying camera images. |
might be of interest: http://vispy.org/index.html |
@zibrov-zlobin if you happen to get that working with pyqt please let everyone know. |
@DanielSank there is this answer |
I'm sure you've thought of all the possible solutions to how to best organize real-time plotting, so I was wondering if anyone could give me some tips.
I need to plot time series and possibly 2d heat plots in real time.
As I understand, the way to do it would be:
The Client retrieves data from the devices and sends it off to the Data Vault server. This creates/ updates a csv file. The data vault on the other hand at the event of new data received sends a signal to all other listening servers/clients and particularly some plotting client. The plotter then reads the csv file and append the last row to the graph.
If the dataset becomes large, wouldn't this pose speed issues, since the whole csv file needs to be read in order to update the graph?
Am I missing something?
Or the scheme to do would be to have a data_plotting server that receives data from the client without ever querying the data_Vault?
Would it be beneficial to use some sort of TSDB for this? Say influxdb + graphite/graphana? Maybe something working already exists?
Thanks,
Sasha
The text was updated successfully, but these errors were encountered: