[Kst] Trending from daily CSV Files KST-Plot Windows Version

Huber, Jörg Huber.Joerg at herrenknecht.de
Mon Aug 4 14:17:02 UTC 2014


Hello Barth,

Yes you are right, the files in the list needs full path name.
Thanks a lot for your help!
Have a nice week
Best regards
Jörg  


-----Ursprüngliche Nachricht-----
Von: Barth Netterfield [mailto:barth.netterfield at utoronto.ca] 
Gesendet: Freitag, 1. August 2014 14:21
An: kst at kde.org
Cc: Huber, Jörg
Betreff: Re: [Kst] Trending from daily CSV Files KST-Plot Windows Version

On August 1, 2014 8:47:03 AM Huber, Jörg wrote:

> Hello Barth,
> 
> thanks for your quick answer.
> I've tried your suggestion but still have following questions
> 
> - Attached is an example of "list of files".  Does extension must be .txt.
> or .csv? Is file attached OK?

The extension on the list file can be anything.  However, the files in the list may need the full path name.

> - I tried both (.csv/.txt) but I couldn't  figure out how to define 
> data source as "list of files".

It should do it automatically, if it can determine that each of the files exist.

You should be using the very latest kst (2.0.8) or it may not work.

> I've tried to configure data source via data wizard, but then it will 
> be imported as a normal single  .csv file. I would appreciate if you 
> can send me a short description or some screenshots how to do this. - 
> If in "list of files" will be added a new CSV- file, does Kst2Plot 
> will automatically online switch to the newest file and read datasets 
> from this file?

It should be automatic.  To kst, it should appear as a single large file.

> Or must the application be restarted?

It shouldn't.

> Many thanks for your help.
> 
> Best Regards
> 
> Jörg
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Barth Netterfield [mailto:barth.netterfield at utoronto.ca]
> Gesendet: Donnerstag, 31. Juli 2014 18:51
> An: kst at kde.org
> Cc: Huber, Jörg
> Betreff: Re: [Kst] Trending from daily CSV Files KST-Plot Windows 
> Version
> 
> Yes, this can be done.
> 
> Make a file which is a list of file you want to append:
> 
> file1.csv
> file2.csv
> file3.csv
> 
> No blank lines.
> 
> Use this file which is the list of files as the data source instead of 
> any of the individual files.  Kst will monitor if the last file in the 
> list is growing, as normal.
> 
> Additionally, it will monitor the list of files.  If you append a new 
> file to the list, it will add it, and start monitoring it for new data instead.
> 
> makes sense?
> 
> cbn
> 
> On July 31, 2014 3:28:27 PM Huber, Jörg wrote:
> > Dear Support-Team of KST-Plot,
> > 
> > 
> > 
> > After a long search I have become aware of your absolutely great 
> > software tool "Kst2 Plot"!
> > 
> > Congratulation!!! I'm totally impressed. It's a superb tool which is 
> > really easy to use and plots very fast, even with big CSV files.
> > 
> > 
> > 
> > I've got one questions:
> > 
> > For some of our applications we are using a data logger software, 
> > that reads and logs all important PLC-data.
> > 
> > Every day (at midnight 00:00) there will be created a new CSV-file, 
> > named e.g. 2014-07-31.csv, 2014-08-01.csv.
> > 
> > 
> > 
> > I've installed last version of KST2Plot (Windows Version) which is 
> > able to trend real times plots of the actual CSV file at the same 
> > time
> > 
> > as the data logger software writes new datasets to it. That works 
> > absolutely great.
> > 
> > Now my question:
> > 
> > In case of "next" day (new csv file will be created) it would be 
> > great to read automatically from the new created csv-file and not to 
> > stop the real time plot.
> > 
> > Is there any way to manage this with Kst2Plot Window version?
> > 
> > 
> > 
> > I hope you understand what I've tried to describe.
> > 
> > 
> > 
> > In advance thanks for your reply.
> > Best regards
> > Jörg Huber
> > Graduate Engineer
> > electrical engineering
> > ____________________________________________________
> > Herrenknecht AG
> > Schlehenweg 2
> > 77963 Schwanau-Allmannsweier
> > Germany
> > (+49 (7824) 302 5440
> > 7+49 (7824) 302 2940
> > mailto:huber.joerg at herrenknecht.de
> > http://www.herrenknecht.de<http://www.herrenknecht.de/>
> > 
> > 
> > 
> > 
> > Registergericht: Freiburg HRB 390485 Vorsitzender des 
> > Aufsichtsrates: Hans-Jörg Vetter
> > Vorstand: Dr.-Ing. E. h. Martin Herrenknecht (Vorsitzender), 
> > Dipl.-Ing. Gebhard Lehmann (stellvertretender Vorsitzender), 
> > Betriebswirt (VWA) Kurt Stiefel
> > 
> > Register Court: Freiburg HRB 390485
> > Chairman of the Supervisory Board: Hans-Jörg Vetter Board of
> > Management: Dr.-Ing. E. h. Martin Herrenknecht (Chairman), Dipl.-Ing.
> > Gebhard Lehmann (Vice-Chairman), Betriebswirt (VWA) Kurt Stiefel
> 
> --
> Barth Netterfield
> University of Toronto
> 416-845-0946
> 
> Registergericht: Freiburg HRB 390485
> Vorsitzender des Aufsichtsrates: Hans-Jörg Vetter
> Vorstand: Dr.-Ing. E. h. Martin Herrenknecht (Vorsitzender), 
> Dipl.-Ing. Gebhard Lehmann (stellvertretender Vorsitzender), 
> Betriebswirt (VWA) Kurt Stiefel
> 
> Register Court: Freiburg HRB 390485
> Chairman of the Supervisory Board: Hans-Jörg Vetter Board of 
> Management: Dr.-Ing. E. h. Martin Herrenknecht (Chairman), Dipl.-Ing. 
> Gebhard Lehmann (Vice-Chairman), Betriebswirt (VWA) Kurt Stiefel

--
Barth Netterfield
University of Toronto
416-845-0946

Registergericht: Freiburg HRB 390485
Vorsitzender des Aufsichtsrates: Hans-Jörg Vetter
Vorstand: Dr.-Ing. E. h. Martin Herrenknecht (Vorsitzender),
Dipl.-Ing. Gebhard Lehmann (stellvertretender Vorsitzender),
Betriebswirt (VWA) Kurt Stiefel 

Register Court: Freiburg HRB 390485
Chairman of the Supervisory Board: Hans-Jörg Vetter
Board of Management: Dr.-Ing. E. h. Martin Herrenknecht (Chairman),
Dipl.-Ing. Gebhard Lehmann (Vice-Chairman),
Betriebswirt (VWA) Kurt Stiefel


More information about the Kst mailing list