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 2021 2022 <2023> 2024 2025 | 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 2021 2022 <2023> 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Periodic SCAN issue in EPICS Archiver Appliance |
From: | "Shankar, Murali via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 10 Mar 2023 14:23:24 +0000 |
>> Is it possible to archive value every 1s(periodically) for "I/O Intr" PV?
The EAA relies on camonitors being generated by the IOC. As long as the "I/O Intr" rate is greater than 1Hz, you should be able
to get SCAN data at 1Hz. You can use "camonitor -m al <PVName>" to see what events (really their timestamps) are generated by the IOC.
For a PV changing at less than 1Hz, if you want to pre-process during retrieval, you could use one of the lastFill/firstFill/meanFill etc operators. For example, the PV with just one sample from Mar/01/2023 10:24:55
$ curl -s "http://machine/retrieval/data/getData.txt?pv=PV:THAT:CHANGES:INFREQUENTLY"
...
Mar/01/2023 10:24:55 -08:00 4.3007170248885E-4 0 0 456781452
can be proprocessed to generate data at 1Hz by using one of the fill operators.
$
curl -s "http://machine/retrieval/data/getData.txt?pv=lastFill(PV:THAT:CHANGES:INFREQUENTLY)"
...
Mar/10/2023 03:07:30 -08:00 4.3007170248885E-4 0 0 0
Mar/10/2023 03:22:30 -08:00 4.3007170248885E-4 0 0 0
Mar/10/2023 03:37:30 -08:00 4.3007170248885E-4 0 0 0
Mar/10/2023 03:52:30 -08:00 4.3007170248885E-4 0 0 0
Mar/10/2023 04:07:30 -08:00 4.3007170248885E-4 0 0 0
...
Hope that helps.
Regards,
Murali
|