<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi Jacob,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I believe KST will update as you make updates to your .txt file.  I do this a ton with KST and dirfile archives (although I seem to have to ‘touch’ key files on Windows in order to have Windows really tell KST a file has changed).  There
 should be options when configuring KST to read your text file (e.g., update every N seconds)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Steve<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Kst <kst-bounces@kde.org> <b>On Behalf Of </b>Jacob Watts<br>
<b>Sent:</b> Tuesday, October 04, 2022 11:32 AM<br>
<b>To:</b> kst@kde.org<br>
<b>Subject:</b> [EXTERNAL] KST Live Data<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I've reference <a href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkst-plot.kde.org%2Fkst1%2Fhandbook%2Findex.html&data=05%7C01%7CStephen.F.Maher%40nasa.gov%7C1c8ca5d10ea9466f4ca908daa6240dfd%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638004971029171134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=HMN9V1Espx0ItIaZS7jXKKshKQaabdDEInaHCyv5WL0%3D&reserved=0">https://kst-plot.kde.org/kst1/handbook/index.html</a> and <a href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.kde.org%2Fpipermail%2Fkst%2F&data=05%7C01%7CStephen.F.Maher%40nasa.gov%7C1c8ca5d10ea9466f4ca908daa6240dfd%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638004971029171134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=T%2Fq%2FjRytRg0sEA%2ByENXn0w4trvPuRf4KqZWrnVf6Y3M%3D&reserved=0">https://mail.kde.org/pipermail/kst/</a> <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Kst2 Software: Kst Kst-2.0.x-2019.02.06-17.17 Revision 74197368b1e8acb46aee8ae724dc8402e02b5a17<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">--<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Jacob Watts<br>
Weber State ECE Electrical Engineering Student<br>
Email: <a href="mailto:jacobwatts@mail.weber.edu">jacobwatts@mail.weber.edu</a><br>
Website: <a href="https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwattsjake.github.io%2F&data=05%7C01%7CStephen.F.Maher%40nasa.gov%7C1c8ca5d10ea9466f4ca908daa6240dfd%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638004971029171134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=4aIlmTYJSRWA1XFOv0P1zGVW%2FYYAEHDci1oSOTHgvMM%3D&reserved=0">
wattsjake.github.io</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>