Filter data string by text

TecGPS Rastreamento pedroavex at gmail.com
Sat Sep 10 14:36:54 BST 2022


Hi!
This is Pedro from Portugal. First of, congrats for your incredible work on
KST, it is such an amazing tool opened for free use, this is really
amazing. Thank you guys.
I am an old school Hw Designer with no skills on programming, reason why i
ask your help here.
My current project generates an output log with high speed throughput
(around 2,000 data lines/sec) and i am trying to use KST to help me with
realtime plotting some data.
However i have a problem: as this output stream is also used by another
machinery, i cannot change the data format, and the strings have some data
ID to differ the paylod, for example, within the datastream i have in one
specific case 20 different frame IDs repeating over and over, each one
brings their own data, it is very similar to a CANBUS data stream.
So, if i just consider the columns, i would have 20 different datasets in
the same column, because for each frame ID the 1st column mean something
different.
The only way i imagined to solve this was to create curves for the columns
and also filtered by the frame ID as a text filter, so for example i would
be able to create curves for each frame ID within column 1, and then column
2, and so on. This is one example of my data stream:
Timestamp(mS),frame_ID,data1,data2,data3,data4,data5,data6,data7,data8
6398.923,2,1,1,1,0
6399.137,4,187,187,187,187,187,187,187,187
6399.417,3,170,170,170,170,170,170,170,170
6400.084,1,1994,122,122,122
6400.260,2,1,1,1,0
6400.474,4,187,187,187,187,187,187,187,187
6400.750,3,170,170,170,170,170,170,170,170
6401.429,1,1994,122,122,122
6401.600,2,1,1,1,0
6401.814,4,187,187,187,187,187,187,187,187
6402.088,3,170,170,170,170,170,170,170,170
6402.763,1,1996,122,122,122
6402.931,2,1,1,1,0
6403.145,4,187,187,187,187,187,187,187,187
6403.430,3,170,170,170,170,170,170,170,170
6404.097,1,1993,122,122,122
6404.274,2,1,1,1,0
.......
As you can see the frame_ID in this example can be 1,2,3,4 and the data
fields will be always up to 8.
If i plot column 3 (data1), it will mix all data from frame_IDs 1,2,3,4
that is my great probelm. In this example i needed to generate 4 different
plots for column1, each plot for its frame_ID. If on curve edition screen
there was a field for text filtering, it would be solved.
Do you guys have any idea how possible it is or even if there is another
feasilble solution for this?
Thanks!
Regards,
Pedro Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20220910/5f65d3fe/attachment.htm>


More information about the Kst mailing list