EPICS Home

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  <20172018  2019  2020  2021  2022  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Archive Dump on Change Only
From: "Laznovsky Michael (PSI)" <[email protected]>
To: "Hidas, Dean" <[email protected]>, "[email protected]" <[email protected]>
Date: Sun, 13 Aug 2017 16:59:51 +0000
Pipe it into:

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

Mike


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

From: [email protected] [mailto:[email protected]] On Behalf Of Hidas, Dean
Sent: Sonntag, 13. August 2017 15:28
To: [email protected]
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  <20172018  2019  2020  2021  2022  2023  2024 
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  <20172018  2019  2020  2021  2022  2023  2024