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  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Change to dbRecordsOnceOnly?
From: Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Wed, 10 May 2023 11:02:40 -0500
On 5/10/23 10:58 AM, Han Lee via Tech-talk wrote:
Hi Michael,

Could you help me figure out how to use this dbRecordOnceOny within a st.cmd?
var dbRecordsOnceOnly 1
It affects dbLoadRecords() and dbLoadTemplate() commands that come after it.

- Andrew

On Wed, May 10, 2023 at 8:53 AM Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov> wrote:
fyi. There is a proposed change to the meaning of the dbRecordsOnceOnly global variable under consideration.
This change would make dbRecordsOnceOnly!=0 less restrictive.

As a reminder, dbRecordsOnceOnly defaults to zero.

https://github.com/epics-base/epics-base/pull/383

Currently with

> record(ai, "myrec") {}

dbRecordsOnceOnly!=0 currently disallows appending fields with either form:

> record("*", "myrec") {} # error
> record(ai, "myrec") {}  # error

This PR changes the meaning such that dbRecordsOnceOnly!=0 always allows appending when explicitly intended (rtype "*").

> record("*", "myrec") {} # allowed
> record(ai, "myrec") {}  # error


--
Jeong Han Lee, Dr.rer.nat.
Staff Scientist and Engineer
Cell: +1 510 384 3868

-- 
Complexity comes for free, Simplicity you have to work for.

References:
Change to dbRecordsOnceOnly? Michael Davidsaver via Tech-talk
Re: Change to dbRecordsOnceOnly? Han Lee via Tech-talk

Navigate by Date:
Prev: Re: Change to dbRecordsOnceOnly? Han Lee via Tech-talk
Next: Re: Why does libca.so depend on libreadline.so? Andrew Johnson 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  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: Change to dbRecordsOnceOnly? Han Lee via Tech-talk
Next: sequencer problem 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  2021  2022  <20232024 
ANJ, 10 May 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·