Here's something you may find useful: https://github.com/pbs/python-ditto/blob/master/tail.py
--- RJB On Fri, Feb 8, 2019 at 11:21 AM Alex Strickland <[email protected]> wrote: > Hi there, > > I'm pretty new to python (am an embedded C programmer by trade), but I > have a need to be able to plot data being written to a CSV file and show > the plot in pseudo-real time in pyqtgraph. > > I have built the GUI with the plots and am happy with it plotting static > data and rolling round (it reads data from a CSV file once using pandas) > but I'm having trouble getting pandas to work for real time data that is > being written to the CSV file by another process once a second. > > I am wondering if pandas are the right way to go for this? Once a second > my CSV file will be written to, it has a variable data rate of either > 1,16,32 or 128Hz and each sample (on a new line) contains a timestamp and > three vectors (it's telemetry data from a magnetometer). > > -- RJ Budzyński Ośrodek Komputerowy Wydziału Fizyki UW -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/CAFxCb%3DXMwQ24E4AYieb%3DDXMVorbKrHat9wcxMKh4%3DDF84aH1Wg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
