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 2023 2024 2025 | 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 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: pyepics not updating pv.enum_strs after connection |
From: | Dirk Zimoch <[email protected]> |
To: | <[email protected]> |
Date: | Wed, 25 Mar 2015 16:55:34 +0100 |
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).
Dirk