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: base R7.0.3.1-1.0 db field DOL="" different behavior then in R3.14.12
From: "Luchini, Kristi L. via Tech-talk" <tech-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 6 Mar 2023 16:31:56 +0000
Hi Michel,

I loaded you're test database below:
record(longout, "lo1") {
    field(DOL, "")
    field(VAL, "42")
}
record(longout, "lo2") {
    field(VAL, "42")
}
record(longout, "lo3") {
    field(DOL, "42")
}

Here's what I see:

- Kristi
-----Original Mess [luchini@lcls-dev3 ~]$ caget lo1
lo1                            0
[luchini@lcls-dev3 ~]$ caget lo2
lo2                            42
[luchini@lcls-dev3 ~]$ caget lo3
lo3                            42

-Kristi

From: Michael Davidsaver <mdavidsaver at gmail.com> 
Sent: Monday, March 6, 2023 8:14 AM
To: Luchini, Kristi L. <luchini at slac.stanford.edu>
Cc: tech-talk at aps.anl.gov
Subject: Re: base R7.0.3.1-1.0 db field DOL="" different behavior then in R3.14.12

On 3/3/23 23:38, Luchini, Kristi L. via Tech-talk wrote:
> Hello,
> 
> I’m upgrading an EPICS IOC Application from epics base R3.14.12 to R7.0.3.1-1.0, and I’ve noticed a different behavior on boot regarding the DOL field of an output record. For example for an aoRecord,  in R3.14.12 if you set DOL=”” on boot the VAL field will be restored.   If,  DOL is a link then the value of that PV will be restored in the ao.   However, in R7.0.3.1-1.0 , if DOL=”” a 0 is restored, independent of the VAL field.   Only if I don’t specify the DOL field in the db,  will the VAL field be restored on boot.

> Is there a reason this behavior has changed?  To me the R3.14.12 behavior seems to be correct.

If I have correctly understand the situation you describe, then this change was not intentional.

Can you see if this change results in the behavior you expect?

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


References:
base R7.0.3.1-1.0 db field DOL="" different behavior then in R3.14.12 Luchini, Kristi L. via Tech-talk
Re: base R7.0.3.1-1.0 db field DOL="" different behavior then in R3.14.12 Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: base R7.0.3.1-1.0 db field DOL="" different behavior then in R3.14.12 Michael Davidsaver via Tech-talk
Next: RE: Ways to know if instrument connected via TCP/IP through StreamDevice has lost connection Wang, Andrew 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: base R7.0.3.1-1.0 db field DOL="" different behavior then in R3.14.12 Michael Davidsaver via Tech-talk
Next: RE: Ways to know if instrument connected via TCP/IP through StreamDevice has lost connection Wang, Andrew 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, 06 Mar 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·