[EXTERNAL] KST Live Data

Maher, Stephen F. (GSFC-665.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] stephen.f.maher at nasa.gov
Tue Oct 4 17:27:04 BST 2022


Hi Jacob,

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)

Steve

From: Kst <kst-bounces at kde.org> On Behalf Of Jacob Watts
Sent: Tuesday, October 04, 2022 11:32 AM
To: kst at kde.org
Subject: [EXTERNAL] KST Live Data

Hello KST,

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.

I've reference https://kst-plot.kde.org/kst1/handbook/index.html<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> and https://mail.kde.org/pipermail/kst/<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>

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.

Kst2 Software: Kst Kst-2.0.x-2019.02.06-17.17 Revision 74197368b1e8acb46aee8ae724dc8402e02b5a17

--
Jacob Watts
Weber State ECE Electrical Engineering Student
Email: jacobwatts at mail.weber.edu<mailto:jacobwatts at mail.weber.edu>
Website: wattsjake.github.io<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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20221004/6777cd9e/attachment-0001.htm>


More information about the Kst mailing list