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: Help with bumpless IOC reboot, record linking and initialization concepts |
From: | Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov> |
To: | Marco Filho <marco.filho at ess.eu> |
Cc: | EPICS Tech Talk <tech-talk at aps.anl.gov> |
Date: | Sat, 20 Sep 2025 15:06:28 -0500 |
On 9/19/25 00:35, Marco Filho wrote:
I think you have right idea, although the other way around. My
thinking is that a driver initializes into a latched "error"
state, which is cleared by processing a record. I like this
approach because it naturally leads to handling the initial
connection the same as a re-connect.
In the asyn language, I suppose this would mean starting with
autoConnect=0, then setting it to 1 from a asynRecord.
Correct, or similar conditions with eg. IVOA "Don't drive
outputs". And so far this has been enough for the cases I have
encountered.
Thinking about it, it might help the situation if iocInit()
sequencing waited for local CA links to become connected. This
turns out not to be so difficult to achieve.
https://github.com/epics-base/epics-base/pull/713
|