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  2021  2022  <20232024  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  <20232024 
<== 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


Navigate by Date:
Prev: Re: Appending to existing records Cobb, Tom (DLSLtd,RAL,LSCI) via Tech-talk
Next: Using subArray record Marco A. Barra Montevechi Filho 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  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: Periodic SCAN issue in EPICS Archiver Appliance Shankar, Murali via Tech-talk
Next: Moxa terminal server question Mark Rivers 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  2021  2022  <20232024 
ANJ, 10 Mar 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·