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 | 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 |
<== 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.
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 From:
[email protected] <[email protected]> on behalf of Gabriel de Souza Fedel <[email protected]>
Hi, |