Summary: | No live plotting from the file | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | andrei4.2008 |
Component: | datasources | Assignee: | kst |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | netterfield |
Priority: | NOR | ||
Version: | 2.0.8 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
andrei4.2008
2018-09-25 01:14:56 UTC
Unfortunately, this is not how kst realtime works - it only works with growing files. If instead of deleting the oldest line, you just leave it and let the file grow, it will work fine, at the expense of a small amount of disk usage. One could, in principle, put in a timer based reload, but without also implementing some sort of file locking strategy, this would lead to race conditions or partial reads, so I am hesitant to implement it. Is there a reason why you can't keep the old data and let the file grow? OK, I see it's working now, thank you. The reason I limit the file size is just thoughts to save a disk space. Also, gnuplot have been able to reread such file without any issues, but works generally worse, kst is better for this application. |