EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 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: OPI updates when enum strings/values change
From: Michael Davidsaver via Core-talk <core-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>, Andrew Johnson <anj at anl.gov>
Cc: "core-talk at aps.anl.gov" <core-talk at aps.anl.gov>, Kevin Peterson <kmpeters at anl.gov>, Matthew Newville <newville at cars.uchicago.edu>
Date: Thu, 4 May 2023 08:37:28 -0700
On 5/4/23 08:30, Michael Davidsaver wrote:
On 5/4/23 08:23, Mark Rivers wrote:
Hi Andrew,

I looked to see how PREC and other fields support DBE_PROPERTY in EPICS base.  I see that the ao, ai, etc. record dbd files put the attribute "prop(YES)" on fields that should generate DBE_PROPERTY callbacks.

I just added prop(YES) to the PREC field in motorRecord.dbd and now when PREC changes Phoebus updates the window to the new precision instantly, without needing to close and re-open the window.  This is great!

A couple of questions:
- If we were to add prop(YES) to fields in the motor record then it would require a minimum of base 3.14.11?

It would actually be >= 3.15.0.2

https://github.com/epics-base/epics-base/commit/3cccdd813458936b536f51589a100cfcfd91f637

My mistake.  This commit adds "prop(YES)" to the base .dbd files.
The C .dbd file parser has always ignored unknown recordtype "items".
(cf. dbRecordtypeFieldItem() ) so I think any 3.14 would ignore "prop(YES)".


Replies:
RE: OPI updates when enum strings/values change Mark Rivers via Core-talk
References:
OPI updates when enum strings/values change Mark Rivers via Core-talk
Re: OPI updates when enum strings/values change Andrew Johnson via Core-talk
RE: OPI updates when enum strings/values change Mark Rivers via Core-talk
Re: OPI updates when enum strings/values change Andrew Johnson via Core-talk
RE: OPI updates when enum strings/values change Mark Rivers via Core-talk
Re: OPI updates when enum strings/values change Michael Davidsaver via Core-talk

Navigate by Date:
Prev: Re: OPI updates when enum strings/values change Michael Davidsaver via Core-talk
Next: RE: OPI updates when enum strings/values change Mark Rivers via Core-talk
Index: 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: OPI updates when enum strings/values change Michael Davidsaver via Core-talk
Next: RE: OPI updates when enum strings/values change Mark Rivers via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 04 May 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·