[Kst] plotting data from a list of files

Berse, Matthias Matthias.Berse at raith.de
Mon Oct 5 09:04:22 UTC 2015


Hi,

 

I seem to remember that there was an option to plot from a growing list of files. Only I tried to find the documentation on how to do this without success.

 

What I want to do is this: I have this growing list of logfiles whose names will be stored in lets say files.txt

 

File1.txt

File2.txt

File3.txt

.

.

.

FileN.txt

 

 

And then just append FileN+1.txt to this list of files and kst should automatically read in the fresh data and continue to plot.

 

Can someone point me in the right direction on how to achieve this?

 

Thanks,

 

Matthias

 

P.S.: Each File.txt contains ASCII Data which looks roughly like this: first line names of vectors, second units then data till the end...

 

Time,Source Current,Suppressor Voltage,Extractor Current,Extractor Voltage,Vacuum Column,Vaccum Chamber,Beam Current,Vaccum LoadLock,Heater Voltage,Heater Current,Source Voltage,Threshold,System Temperature Column,System Temperature Sensor2,Stage X,Stage Y,Stage Z,Condenser Voltage,Condenser Current,ObjectiveLens Voltage,ObjectiveLens Current,Octupol1Plate1 Voltage,Octupol1Plate2 Voltage,Octupol1Plate3 Voltage,Octupol1Plate4 Voltage,Octupol1Plate5 Voltage,Octupol1Plate6 Voltage,Octupol1Plate7 Voltage,Octupol1Plate8 Voltage,ContrastControl Voltage,Aperture X,Aperture Y,Aligner X, Aligner Y

s,A,V,A,V,mbar,mbar,pA,mbar,V,A,V,V,°C,°C,mm,mm,mm,V,A,V,A,V,V,V,V,V,V,V,V,V,µm,µm,%,%

2015-04-18 19:35:02, -5.1494E-09, 0, -2.60719E-09, 0.0356724, 6.5000000937232E-09, 8.89848365659418E-07, -1.275424E-14, 9999.900390625, 0.000672916, 0.000343381, 3.57682, 3.5411476, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.574082, -1.81181E-09, 1.06592, -8.07589E-10, 0.010158, 0.00358116, 0.00501263, 0.000349504, -0.00136825, -0.00241389, 0.0109455, -0.00378407, 0, 2168.001953125, 282.7900390625, 0, 0

2015-04-18 19:35:07, -2.06557E-09, 0, -3.02231E-09, 0.0713449, 6.40000008544916E-09, 8.81242726791243E-07, -9.521273E-15, 9999.900390625, 0.000665633, 0.000359386, 3.54009, 3.4687451, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.571168, -1.82637E-09, 1.07028, -6.11148E-10, 0.0103036, 0.00355205, 0.00477948, 0.00119414, -0.0014847, -0.00229756, 0.0108873, -0.00384229, 0, 2167.9990234375, 282.78515625, 0, 0

2015-04-18 19:35:08, -3.66567E-09, 0, -3.02231E-09, 0.0713449, 6.40000008544916E-09, 8.80019626947615E-07, -9.521273E-15, 9999.900390625, 0.000675829, 0.000356476, 3.64292, 3.5715751, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.582824, -1.8482E-09, 1.08339, -2.83747E-10, 0.0103036, 0.00355205, 0.00477948, 0.00119414, -0.00177582, -0.00247206, 0.0140021, -0.00381318, 0, 2167.9990234375, 282.78515625, 0, 0

2015-04-18 19:35:08, -6.98223E-09, 0, -2.70915E-09, 0.0254803, 6.40000008544916E-09, 8.77579395819339E-07, -9.521273E-15, 9999.900390625, 0.00065835, 0.000350656, 3.68698, 3.6614997, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.553683, -1.78271E-09, 1.15766, -2.83747E-10, 0.010158, 0.00340647, 0.00518749, 0.00180577, -0.0017176, -0.00247206, 0.0140021, -0.00381318, 0, 2168.0009765625, 282.7890625, 0, 0

2015-04-18 19:35:09, -8.58233E-09, 0, -3.1097E-09, 0.076441, 6.40000008544916E-09, 8.73932265221811E-07, -9.521273E-15, 9999.900390625, 0.000652524, 0.000341926, 3.69433, 3.617889, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.568253, -1.78271E-09, 1.15766, -7.63936E-10, 0.0101289, 0.00340647, 0.00518749, 0.00180577, -0.0017176, -0.00261747, 0.0139148, -0.00381318, 0, 2168.0009765625, 282.7890625, 0, 0

2015-04-18 19:35:09, -6.22583E-09, 0, -3.1097E-09, 0.0407685, 6.40000008544916E-09, 8.72720249844861E-07, -7.496225E-15, 9999.900390625, 0.000674372, 0.000359386, 3.53275, 3.4919815, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.568253, -1.85547E-09, 1.11397, -1.01858E-10, 0.0101289, 0.00326089, 0.0049252, 0.00180577, -0.00157204, -0.00238481, 0.0139148, -0.00381318, 0, 2168, 282.7900390625, 0, 0

2015-04-18 19:35:10, -2.12376E-09, 0, -2.84752E-09, 0.117209, 6.40000008544916E-09, 8.3944576090289E-07, -7.496225E-15, 9999.900390625, 0.000678742, 0.000365206, 3.51071, 3.393501, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.588652, -1.87002E-09, 1.0965, -3.1285E-10, 0.0102162, 0.00681295, 0.00448805, 0.00183489, -0.00157204, -0.00238481, 0.0109455, -0.00381318, 0, 2168, 282.7900390625, 0, 0

2015-04-18 19:35:11, -7.88411E-09, 0, -2.35958E-09, 0.0560567, 6.40000008544916E-09, 8.19865363155259E-07, -7.496225E-15, 9999.900390625, 0.00066272, 0.000359386, 3.65026, 3.5942033, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.562425, -1.84092E-09, 1.1096, -6.03873E-10, 0.0100125, 0.00352293, 0.00510006, -0.0106288, -0.00154292, -0.00264656, 0.0109164, -0.0039005, 0, 2168.0009765625, 282.7880859375, 0, 0

2015-04-18 19:35:12, -5.29486E-09, 0, -3.24807E-09, 0.0509606, 6.30000007717513E-09, 8.19865363155259E-07, -4.476419E-15, 9999.900390625, 0.000664176, 0.000356476, 3.60619, 3.5552294, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.576996, -1.89185E-09, 1.0965, -2.47369E-10, 0.00785868, 0.00363939, 0.00160287, -0.0103958, -0.00160115, -0.00241389, 0.0108873, -0.00398783, 0, 2168, 282.7861328125, 0, 0

2015-04-18 19:35:13, -2.70561E-09, 0, -2.53437E-09, 0.0560567, 6.30000007717513E-09, 8.23286882223329E-07, -4.476419E-15, 9999.900390625, 0.000677285, 0.000343381, 3.51071, 3.4546533, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.588652, -1.84092E-09, 1.14455, -7.42109E-10, 0.0102453, 0.00363939, -0.00183587, 0.00180577, -0.00186315, -0.00250114, 0.0110037, -0.00360942, 0, 2168, 282.7861328125, 0, 0

2015-04-18 19:35:14, -5.44032E-09, 0, -1.87892E-09, 0.0713449, 6.30000007717513E-09, 8.26723521640815E-07, -1.215028E-14, 9999.900390625, 0.000651068, 0.000352111, 3.65026, 3.5789151, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.585738, -1.81909E-09, 1.14455, -2.03716E-10, 0.010973, 0.00355205, 0.00498349, 0.00198052, -0.00142648, -0.00264656, 0.0136819, -0.00369675, 0, 2168.0009765625, 282.7841796875, 0, 0

2015-04-18 19:35:15, -7.30225E-09, 0, -3.40829E-09, 0.0101921, 6.30000007717513E-09, 8.30174542443274E-07, -1.215028E-14, 9999.900390625, 0.000677285, 0.000355021, 3.57682, 3.5666279, 0, 0, 18.3691346957989, 29.3229754565896, 25.2299, 0.576996, -1.86275E-09, 1.16202, -7.85762E-10, 0.0104491, 0.00649268, -0.00402144, 0.00110676, -0.00183404, -0.00226848, 0.0138566, -0.00384229, 0, 2168.001953125, 282.783203125, 0, 0

-----------------------------------------------------------------------
Matthias Berse

R&D Engineer
System Development

Raith GmbH
www.raith.com

phone: +49 (231) 95004 351[if_exists]
mobile: [/if_exists]
fax: +49 (231) 95004 460 
email: mailto:Matthias.Berse at raith.de

-----------------------------------------------------------------------
Raith GmbH - Konrad-Adenauer-Allee 8 - 44263 Dortmund - Deutschland / Germany
Geschaeftsfuehrer / managing director: Dr. Ralf Jede // Handelsregister / trade register: Dortmund HRB 8984
Steuer-Nr. / tax number: 315/5765/0135 // Ust.-IdNr. / VAT number: DE 124 727 617

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20151005/67028ad1/attachment.html>


More information about the Kst mailing list