PYQT5 GUI Data and Line Graph
-
Hi guys, I am using thermocouple to get data on my QT5 designer interface. I want that as interface read the data of thermocouple a graph should be shown at the same time , sort of Temperature vs Time. How I can do that??
-
Hi guys, I am using thermocouple to get data on my QT5 designer interface. I want that as interface read the data of thermocouple a graph should be shown at the same time , sort of Temperature vs Time. How I can do that??
@Crabnewbula Sounds like https://doc.qt.io/qt-5/qtcharts-index.html is what you need
-
This post is deleted!
-
This post is deleted!
@Crabnewbula
Yes, it will. I believe for Python you need to install QtCharts viapip install
(e.g.python3 -m pip install PyQtChart
). -
@JonB Thanks, my bad :) for the python question but I have seen this and basically we are providing the values but in my case I am getting the data through thermocouples and I want to represent that in Temp vs Time form .
-
@JonB Thanks, my bad :) for the python question but I have seen this and basically we are providing the values but in my case I am getting the data through thermocouples and I want to represent that in Temp vs Time form .
@Crabnewbula said in PYQT5 GUI Data and Line Graph:
but in my case I am getting the data through thermocouples and I want to represent that in Temp vs Time form
But what exactly is the problem? Please ask specific questions.
-
@JonB Thanks, my bad :) for the python question but I have seen this and basically we are providing the values but in my case I am getting the data through thermocouples and I want to represent that in Temp vs Time form .
@Crabnewbula
So just get your data and use QtCharts to plot desired temp/time, fine from Python. -
This post is deleted!
-
@Crabnewbula said in PYQT5 GUI Data and Line Graph:
but in my case I am getting the data through thermocouples and I want to represent that in Temp vs Time form
But what exactly is the problem? Please ask specific questions.
@jsulm I am using two thermocouples that are interfaced with arduino mega 2560 and using HC05 ( Bluetooth module) I am sending my data temperature data from arduino mega 2560 to my raspberry pi 4 then those two readings of both thermocouples are shown in my GUI and getting updated. I want to plot the graph for both of the thermocouple temperature w.r.t time.
-
@jsulm I am using two thermocouples that are interfaced with arduino mega 2560 and using HC05 ( Bluetooth module) I am sending my data temperature data from arduino mega 2560 to my raspberry pi 4 then those two readings of both thermocouples are shown in my GUI and getting updated. I want to plot the graph for both of the thermocouple temperature w.r.t time.
@Crabnewbula So, you already get the data, right? Then use QtCharts to plot this data. There are also examples: https://doc.qt.io/qt-5/qtcharts-examples.html