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: Han Lee via Tech-talk <tech-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: EPICS Tech-Talk <tech-talk at aps.anl.gov>
Date: Wed, 10 May 2023 08:58:45 -0700
Hi Michael,

Could you help me figure out how to use this dbRecordOnceOny within a st.cmd?

Best,
Han

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

Replies:
Re: Change to dbRecordsOnceOnly? Andrew Johnson via Tech-talk
References:
Change to dbRecordsOnceOnly? Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Change to dbRecordsOnceOnly? Michael Davidsaver via Tech-talk
Next: Re: Change to dbRecordsOnceOnly? 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: Change to dbRecordsOnceOnly? Michael Davidsaver via Tech-talk
Next: Re: Change to dbRecordsOnceOnly? 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 
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 ·