ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

3 July 2022
2022-07-03×
3 July 2022
Is there anyone having an experience in real time data plotting in pyside2?
I have used pyqtgraph. I am plotting data using qtimer. It triggers every 1ms and I have used numpy random module to plot the data.
The pyqtgraph is embedded in a .ui file on a qwidget which is further promoted to pyqtgraph's PlotWidget.
I
I am plotting data every 50 samples
C
hiroot: I'm not a lawyer, but if the tool is GPL it doesn't mean that the output code (.ui file) is GPL as well. You can develop a pyside2 + .ui files (from qtdesigner) commercially, as long as you have a Qt License, or fulfill the LGPL license.
I am only able to get around 12000 samples in 30seconds where ideally I should get 30000 samples
If I change plotting frequency i.e. changed to 150 from 50. I get tremendous improvement
I
But the graph doesn't look fluidic
Is there any difference in plot() function and setData() function?
Plot is child of PlotItem() and setData() is child of PlotDataItem()
K
You could also try QtCharts as an alternative to pyqtgraph for plotting.
Is there anything that I can use to plot this fast?
I
Google searches seems that no one has developed such library.
Calendar: July 2022
MoTuWeThFrSaSu123274205206371829101113122131415416171811920721222324252627528293031
Archive by month
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog