<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Yes: Viewing data appended to a file is the intended use of kst.
When the file grows, the new data will be read and the plots
updated (when in count from end mode or read to end mode).</p>
<p>By default, kst reads white space separated collums of data.</p>
<p>eg, imaging a file called data.txt which contains<br>
</p>
<p>1 1<br>
2 4<br>
3 9<br>
4 16<br>
<br>
To read this you might enter from the command line:<br>
<br>
kst2 data.txt -x 1 -y 2<br>
<br>
Or you can read the file from the data wizard in the GUI.</p>
<p>As a side note, the documentation you referenced is obsolete, and
refers to a very old version of kst.</p>
<p>The current documentation is at:</p>
<p><a class="moz-txt-link-freetext" href="https://kst-plot.kde.org/docbook/html/">https://kst-plot.kde.org/docbook/html/</a><br>
</p>
<p>cbn<br>
</p>
<div class="moz-cite-prefix">On 2022-10-04 11:31, Jacob Watts wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANyjtL83n3SwDcWYWZQnU+_4U1OCDOoSAKKo_eybyN6wOn6b8A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello KST,<br>
<br>
I'm interested in plotting live data. I wrote a python script to
write data to a .txt file every n number of seconds. I'm
wondering if this is an appropriate way to port data into the
kst2 software. I would like to be able to record data to a .txt
file or comparable file format. I'm hoping to port serial data
to the kst2 program with a baud rate of 115200 or 9600. I
haven't been able to find anything online that discusses this
process. I'm thinking that I'll run into the problem of writing
to the file at the same time as I'm trying to read it with kst2.
Any advice would be appreciated. Or a simple tutorial somewhere
would be great.
<div><br>
</div>
<div>I've reference <a
href="https://kst-plot.kde.org/kst1/handbook/index.html"
moz-do-not-send="true" class="moz-txt-link-freetext">https://kst-plot.kde.org/kst1/handbook/index.html</a> and <a
href="https://mail.kde.org/pipermail/kst/"
moz-do-not-send="true" class="moz-txt-link-freetext">https://mail.kde.org/pipermail/kst/</a> <br>
<div><br>
</div>
<div>I'm fairly familiar with python, c++, c. I also have a
dual boot computer with Ubuntu and Windows 10. I'm currently
running kst2 on Windows 10. </div>
<div><br>
</div>
<div>Kst2 Software: Kst Kst-2.0.x-2019.02.06-17.17 Revision
74197368b1e8acb46aee8ae724dc8402e02b5a17</div>
<div><br>
</div>
<div>
<div>--<br>
</div>
<div>Jacob Watts<br>
Weber State ECE Electrical Engineering Student<br>
Email: <a href="mailto:jacobwatts@mail.weber.edu"
moz-do-not-send="true" class="moz-txt-link-freetext">jacobwatts@mail.weber.edu</a><br>
Website: <a href="http://wattsjake.github.io"
moz-do-not-send="true">wattsjake.github.io</a></div>
</div>
</div>
</div>
</blockquote>
<div class="moz-signature">-- <br>
Barth Netterfield
416-845-0946</div>
</body>
</html>