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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: pyepics not updating pv.enum_strs after connection
From: Jameson Graef Rollins <[email protected]>
To: Dirk Zimoch <[email protected]>, [email protected]
Date: Wed, 25 Mar 2015 09:38:15 -0700
On Wed, Mar 25 2015, Dirk Zimoch <[email protected]> wrote:
> On 25.03.2015 04:46, Matt Newville wrote:
>> Yes, I think this idea of getting the ctrl variables in the connection
>> callback is a good idea, and will allow more straightforward code  As it
>> is, a pyepics.PV is already expected to be a "rich" object, even if
>> sacrificing ultimate performance, and is normally expected to have the
>> ctrl variables.   So, I think it's reasonable to have this getting of
>> ctrl variables as the default.    I'll add that.
>
> This is generally a good idea for every ca client. After a reboot, 
> anything may have changed: Enum strings, limits, units, precision, array 
> size, even record type (and thus data type).

This is actually a really good point.  We employ a lot of PCAS with enum
records whose string mappings change fairly regularly.  The fact that
none of our CA clients ever know about these changes until the operator
manually restarts them has actually been quite problematic for us.  If
the clients would always refresh their ctrl records after new
connections, things would be much more robust.

jamie.

Attachment: signature.asc
Description: PGP signature


References:
pyepics not updating pv.enum_strs after connection Jameson Graef Rollins
Re: pyepics not updating pv.enum_strs after connection Jameson Graef Rollins
Re: pyepics not updating pv.enum_strs after connection Matt Newville
Re: pyepics not updating pv.enum_strs after connection Jameson Graef Rollins
Re: pyepics not updating pv.enum_strs after connection Matt Newville
Re: pyepics not updating pv.enum_strs after connection Jameson Graef Rollins
Re: pyepics not updating pv.enum_strs after connection Matt Newville
Re: pyepics not updating pv.enum_strs after connection Jameson Graef Rollins
Re: pyepics not updating pv.enum_strs after connection Matt Newville
Re: pyepics not updating pv.enum_strs after connection Dirk Zimoch

Navigate by Date:
Prev: RE: Registration Open for the Spring 2015 EPICS Collaboration Meeting Williams Jr., Ernest L.
Next: Re: pyepics not updating pv.enum_strs after connection Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: pyepics not updating pv.enum_strs after connection Michael Davidsaver
Next: Announcing carchivetools Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·