Recently, I encountered a problem in using pyqtgraph. The problem is that I wrote a PC to record the data sent to the computer by the MCU through the serial port, and stored the data in the database. The problem is that when I use the upper computer to read the saved data from the database and display it with pyqtgraph, with the increase of the amount of data, the computer memory occupation will gradually increase, until it finally bursts, I tried to block it self.plotWidget_ ted.plot (y = B, x = a, pen'b '), that is to say, without drawing, the memory will not be changed. What is the reason for that? When drawing, did those points be written into the system memory? When reading the data, my upper computer would read the data circularly. After loading, the data would be cleared,
Thank you for your answer, because it takes a few days to get a large amount of data, so I have modified the code to test according to your suggestions, and the results may be produced in a few days
在2020年11月26日星期四 UTC+8 上午10:14:36<Patrick> 写道:
--
You received this message because you are subscribed to the Google Groups "pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyqtgraph+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/5d5aac83-10c2-4235-b016-41e0b347aec4n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/8432922a-2ccd-4e36-b554-ce17d6a2ca11n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/9cf303c9-487e-4479-94c5-4abe032806ean%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/9cf303c9-487e-4479-94c5-4abe032806ean%40googlegroups.com.