EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: CS-Studio(Phoebus) Archive Viewer Matlab Export Issue
From: "Manoussakis, Adamandios via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 29 Jan 2021 01:39:16 +0000

Hello All,

 

Currently using CSStudio(Phoebus V4.6.4) Archive Viewer to export data (waveform records) out both as spreadsheet and Matlab files (.m or .mat).  I have exported both spreadsheet and matlab versions of the same data using the raw archived data (not plot which I think just gives you whatever is shown in the data browser window) and the spreadsheet data shows up just fine sample below

 

2021-01-26 12:05:29.836             0.000259, 0.000002, 0.000130, 0.000259, 0.000002, 0.000130, 0.000002, 0.000002, 0.000130, 0.000388, 0.000130, 0.000002, 0.000259, 0.000646, -0.000256, 0.000388, -0.000256, 0.000259, 0.000002, -0.000127, -0.000127, 0.000130, 0.000259, -0.000385, -0.000127, -0.000642, -0.000127, -0.000256, 0.000002, -0.000385, -0.000256, 0.000002, -0.000127, 0.000259, -0.000256, -0.000127, 0.000259, 0.000130, 0.000002, -0.000385, -0.000256, 0.000130, -0.000127, 0.000130, 0.000002, -0.000256, 0.000130, -0.000256, -0.000256, 0.000002, 0.000002, -0.000127, 0.000002

 

However the matlab files seem to be exporting just a single index per record timestamp and not the whole string of data points for the waveform record.  Example of the same data but the first entry in the .m file and not the whole string of values as sseen above.  The other values at 2 and 3 are just the next timestamps and the first index for each of there arrays. 

 

t{1}='2021/01/26 12:05:29.836';

v(1)=2.5917809630157874E-4;

q(1)=0;

t{2}='2021/01/26 13:35:36.403';

v(2)=0.0;

q(2)=0;

t{3}='2021/01/26 14:38:46.998';

v(3)=0.0;

q(3)=0;

 

Seems like the matlab export might not be working correctly, possibly exporting the plot and not the raw archived data even if it is selected or I am doing something wrong.  If anyone has another piece of software or has had success exporting matlab files correctly please let me know.

 

Thanks

 


Replies:
Re: CS-Studio(Phoebus) Archive Viewer Matlab Export Issue Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: autosave -- NOWRITE pvs request Mooney, Tim M. via Tech-talk
Next: RE: autosave -- NOWRITE pvs request Luchini, Kristi L. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: autosave -- NOWRITE pvs request Mooney, Tim M. via Tech-talk
Next: Re: CS-Studio(Phoebus) Archive Viewer Matlab Export Issue Kasemir, Kay via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 29 Jan 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·