[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plotting live / real-time data from a csv / txt file

From: Rick T
Subject: Re: Plotting live / real-time data from a csv / txt file
Date: Mon, 8 Apr 2019 22:16:17 -0400

Thanks the suggestions helped.


On Sat, Apr 6, 2019 at 1:16 AM JuanPi <address@hidden> wrote:

See Andeas' answer regarding realtime.
It is easy to update a plot when new data is available. See the properties of plot by doing "get(plot(0,0))" or looking in the manual. There are sources or you can manually update the x and y data. I do not think we have deque kind of container but you could creste one using c++ or maybe some octave forge package have done it already.
I see an issue with reading the data from the file. Is the file growing? If it is at some point you will get delays from reading a huge file. You will have to find a way to only read the last point in the csv. E.g. by seeking or by tailing before attempting to read.
Do not forget to put a data validator between the data reader and the ploter.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]