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 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
<== Date ==> <== Thread ==>

Subject: RE: Archive Dump on Change Only
From: "Laznovsky Michael (PSI)" <michael.laznovsky@psi.ch>
To: "Hidas, Dean" <dhidas@bnl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Sun, 13 Aug 2017 16:59:51 +0000
Pipe it into:

	awk '$NF!=z{z=$NF;print}'

Mike


-----Original Message-----

From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Hidas, Dean
Sent: Sonntag, 13. August 2017 15:28
To: tech-talk@aps.anl.gov
Subject: Archive Dump on Change Only

Greetings EPICS Experts,

I am trying to dump archive data for some setpoints but am only interested in values 
when they change.  Is there an easy way to only print out values only once they change?  
I was trying something like the following:

arget -s '2016-8-1 00:00:00' -e '2017-8-1 00:00:00' -c 1000 PVNAME

but this gives:
...
2016-10-19 16:58:58.343624 220.0
2016-10-19 16:58:59.367182 220.0
2016-10-19 16:58:59.877238 220.0
2016-10-19 16:59:00.399215 220.0
...

Thanks for your help,

-Dean Hidas

References:
Archive Dump on Change Only Hidas, Dean

Navigate by Date:
Prev: Archive Dump on Change Only Hidas, Dean
Next: RE: Archive Dump on Change Only Laznovsky Michael (PSI)
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
Navigate by Thread:
Prev: Archive Dump on Change Only Hidas, Dean
Next: RE: Archive Dump on Change Only Laznovsky Michael (PSI)
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
ANJ, 13 Aug 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·