Hi Michael,
> The C .dbd file parser has always ignored unknown recordtype "items".
> (cf. dbRecordtypeFieldItem() ) so I think any 3.14 would ignore "prop(YES)".
Thanks, that is excellent, so I don't see any reason not to add those to the motor record.
Mark
-----Original Message-----
From: Michael Davidsaver <mdavidsaver at gmail.com>
Sent: Thursday, May 4, 2023 10:37 AM
To: Mark Rivers <rivers at cars.uchicago.edu>; Andrew Johnson <anj at anl.gov>
Cc: core-talk at aps.anl.gov; Kevin Peterson <kmpeters at anl.gov>; Matthew Newville <newville at cars.uchicago.edu>
Subject: Re: OPI updates when enum strings/values change
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)".
- 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
- 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:
Build failed: EPICS Base 7 base-7.0-920 AppVeyor 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
<2023>
2024
2025
- Navigate by Thread:
- Prev:
Re: OPI updates when enum strings/values change Michael Davidsaver via Core-talk
- Next:
Build failed: EPICS Base 7 base-7.0-918 AppVeyor 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
<2023>
2024
2025
|