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  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Using autosave to restore device settings after a reset without rebooting IOC
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 21 Jun 2021 11:03:10 +0200
I would also agree that autoSaveRestore looks like a reasonable way to handle this.

More general, I would argue that for any remote device, PINI does not make sense in many cases, as the device may not be accessible when the IOC boots.
Instead, the device support needs to implement some adequate configurable behavior in the case of (re)connection.
StreamDevice has the @init exception handler to do that.
For OPC UA, I created a menu-type config parameter with the options "read", "ignore" and "write" - the obvious and easy ones.
Some devices can signal if they did a warm or a cold reboot, connection drops may need to be handled differently from reboots... once you look closely, it gets messy.

Cheers,
~Ralph

References:
Using autosave to restore device settings after a reset without rebooting IOC Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Using autosave to restore device settings after a reset without rebooting IOC Mooney, Tim M. via Tech-talk
Next: StreamDevice support problem: Cannot find a bus named 'L0' for... Hasan SANSAR via Tech-talk
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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Using autosave to restore device settings after a reset without rebooting IOC Mooney, Tim M. via Tech-talk
Next: StreamDevice support problem: Cannot find a bus named 'L0' for... Hasan SANSAR via Tech-talk
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  <20212022  2023  2024 
ANJ, 22 Jun 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·