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

Subject: Re: Problems with scaler record on epics archiver
From: "Mooney, Tim M." <[email protected]>
To: "Rivers, Mark L." <[email protected]>, Gabriel de Souza Fedel <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 25 Jan 2018 18:53:35 +0000

Hi Mark,


The fix I'm testing posts all scaler values after updating the time stamp, and posts them with DBE_VALUE|DBE_LOG, regardless of whether any values are the same as when previously posted.  If nobody objects, I'll push this fix to github, and folks can see if it works for them.


Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


From: Mark Rivers <[email protected]>
Sent: Thursday, January 25, 2018 12:37:45 PM
To: Mooney, Tim M.; Gabriel de Souza Fedel; [email protected]
Subject: RE: Problems with scaler record on epics archiver
 

Hi Tim,

 

It seems like the timestamps also need work.  If I monitor the S1 field the timestamp never updates to the value when the scaler finished counting.  It is always the time when the scaler finished counting on the previous count cycle.  This is not what one would expect.

 

Mark

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of Mooney, Tim M.
Sent: Thursday, January 25, 2018 11:48 AM
To: Gabriel de Souza Fedel <[email protected]>; [email protected]
Subject: Re: Problems with scaler record on epics archiver

 

I think the problem is that the scaler record doesn't post values with the attribute DBE_LOG, and the archiver probably subscribes only to posts with DBE_LOG.  I'm not sure what is the best solution, but it's probably one of these two:

 

- when the scaler finishes counting, post scaler values with DBE_LOG 

 

- when the scaler finishes counting, post scaler values with DBE_LOG if they are not the same as the last time the values were posted with DBE_LOG.

 

Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


From: [email protected] <[email protected]> on behalf of Gabriel de Souza Fedel <[email protected]>
Sent: Thursday, January 25, 2018 4:51:42 AM
To: [email protected]
Subject: Problems with scaler record on epics archiver

 

Hi,

I'm having problems with scaler record on epics archiver.
Archiver doesn't record values from this PVs, just the first value (when
start archiving).
I tried to change to scan mode and didn't work too.

I'm think the problem is related to scaler timestamp behavior (the
timestamp doesn't change when PV is counting).

Has anyone had problems like this?


Regards

--
Gabriel Fedel
Software de Operação das Linhas de Luz
Laboratório Nacional de Luz Síncrotron – (LNLS)
Centro Nacional de Pesquisa em Energia e Materiais (CNPEM)
[email protected] | +55 (19) 3512 1226
www.lnls.cnpem.br


Replies:
Re: Problems with scaler record on epics archiver Gabriel de Souza Fedel
Re: Problems with scaler record on epics archiver Gabriel de Souza Fedel
References:
Problems with scaler record on epics archiver Gabriel de Souza Fedel
Re: Problems with scaler record on epics archiver Mooney, Tim M.
RE: Problems with scaler record on epics archiver Mark Rivers

Navigate by Date:
Prev: RE: Problems with scaler record on epics archiver Mark Rivers
Next: RE: IOC build freddie.akeroyd
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Problems with scaler record on epics archiver Mark Rivers
Next: Re: Problems with scaler record on epics archiver Gabriel de Souza Fedel
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 26 Jan 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·