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: SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine
From: Kuldeep Joshi via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 14 Sep 2021 10:20:22 +0000
Hello
I am getting the following output from camonitor for BUSY DATA and EXSC field of sscan record. I see in camonitor the timestamp for the sscan BUSY field is same for busy state and not busy.

iocA:scan1.EXSC               2021-09-14 14:10:10.180717 1  
iocA:scan1.DATA               2021-09-14 14:24:49.126318 0  
iocA:scan1.BUSY               2021-09-14 14:24:49.126318 1  
iocA:scan1.EXSC               2021-09-14 14:24:49.126318 0  
iocA:scan1.DATA               2021-09-14 14:24:49.126318 1  
iocA:scan1.BUSY               2021-09-14 14:24:49.126318 0  
iocA:scan1.EXSC               2021-09-14 14:24:49.126318 1  
iocA:scan1.DATA               2021-09-14 14:30:58.778731 0  
iocA:scan1.BUSY               2021-09-14 14:30:58.778731 1  
iocA:scan1.EXSC               2021-09-14 14:30:58.778731 0  
iocA:scan1.DATA               2021-09-14 14:30:58.778731 1  
iocA:scan1.BUSY               2021-09-14 14:30:58.778731 0 

I was thinking of archiving the BUSY field to indicate the start and end of scan. Here the archive engine of phoebus stores only the initial event Busy =1. This also causes the BUSY to be seen a spike in the databrowser.

The postgresql table listing for BUSY is given below
         56 | 2021-09-14 14:24:49.126318 | 126317989 |           5 |         8 |       1 |           |             |          |
         56 | 2021-09-14 14:30:01.659215 | 659214550 |           4 |        10 |         |           | Archive_Off |          |
         56 | 2021-09-14 14:30:01.759215 | 759215000 |           5 |         8 |       0 |           |             |          |
         56 | 2021-09-14 14:30:58.778731 | 778731080 |           5 |         8 |       1 |           |             |          |

If I have to extract the timeperiod during which the scan was active, I may have to use additional records to monitor the BUSY field and archive it.
Anyway in which I can achieve it elegantly

Regards,
Kuldeep


Replies:
Re: SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine Mark Rivers via Tech-talk
Re: SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine Ralph Lange via Tech-talk
Re: SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine Mooney, Tim M. via Tech-talk

Navigate by Date:
Prev: RE: Incompatibility of pyepics and pvaPy 4.0.0 on Windows Mark Rivers via Tech-talk
Next: Re: SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Alarm Server and archiveEngine Hasan SANSAR via Tech-talk
Next: Re: SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine 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  <20212022  2023  2024 
ANJ, 16 Sep 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·