Hi Mark, Tim, and Murali,
thank you for the answers.
Tim, if you push this fix i will test it.
I made a temporary solution, creating a new calcout record that update
his value when TP==T, like this:
record(calcout,"$(BL)$(SC):LS2") {
field(INPA,"$(BL)$(SC).S2")
field(INPB,"$(BL)$(SC).VAL")
field(INPC,"$(BL)$(SC).TP")
field(INPD,"$(BL)$(SC):LS2")
field(CALC,"B=C ? A : D")
}
This worked, but if there is a solution inside scaler record i think is
better.
Thank you again,
Regards
On 25-01-2018 16:53, Mooney, Tim M. wrote:
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] <mailto:[email protected]>) (630)252-5417
Beamline Controls Group (www.aps.anl.gov <http://www.aps.anl.gov>)
Advanced Photon Source, Argonne National Lab
------------------------------------------------------------------------
*From:*[email protected]
<mailto:[email protected]> <[email protected]
<mailto:[email protected]>> on behalf of Gabriel de Souza
Fedel <[email protected] <mailto:[email protected]>>
*Sent:* Thursday, January 25, 2018 4:51:42 AM
*To:* [email protected] <mailto:[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] <mailto:[email protected]> | +55 (19) 3512 1226
www.lnls.cnpem.br <http://www.lnls.cnpem.br>
--
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
- 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
- Re: Problems with scaler record on epics archiver Mooney, Tim M.
- Navigate by Date:
- Prev:
答复: Re: Question about communications based on modbus tcp. lzf neu
- 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
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Problems with scaler record on epics archiver Mooney, Tim M.
- 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
<2018>
2019
2020
2021
2022
2023
2024
|