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: Re: SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine
From: "Mooney, Tim M. via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Kuldeep Joshi <kuldeep.joshi at gmail.com>
Date: Tue, 14 Sep 2021 13:11:56 +0000
Hi Kuldeep,

This doesn't look like a normal scan to me.  BUSY should go to 1 promptly after EXSC is set to 1.  I would try monitoring SMSG to verify that the scan is behaving normally - not flailing with a disconnected positioner PV, for example.

Tim Mooney (mooney at anl.gov) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Kuldeep Joshi via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, September 14, 2021 5:20 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine
 
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 Kuldeep Joshi via Tech-talk
References:
SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine Kuldeep Joshi via Tech-talk

Navigate by Date:
Prev: Re: SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine Ralph Lange via Tech-talk
Next: Re: Download prblem for sequenzer Ben Franksen 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: SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine Ralph Lange via Tech-talk
Next: Re: SynApps sscan record: timestamp issue for BUSY DATA and EXSC fields; causing problem archiving with Phoebus Archive engine Kuldeep Joshi 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, 14 Sep 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·