EPICS Home

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  <20172018  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  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: StreamDevice exception handlers
From: Eric Norum <[email protected]>
To: Dirk Zimoch <[email protected]>
Cc: "[email protected] Talk" <[email protected]>
Date: Tue, 21 Mar 2017 08:15:36 -0700
Implicit in my suggestion below was that the @reconnect handler would have at least one readback operation to be able to detect the presence of the device.
Also, perhaps there should be an additional parameter ‘ DelayBeforeReconnect’.  The @reconnect exception handler polling interval would then be equal to (ReplyTimeout + DelayBeforeReconnect).

True, but perhaps a workaround would be to specify disconnect-on-timeout — then the @reconnect handler would keep retrying at the specified reply timeout interval.  Once the device became available the @reconnect handler would succeed and things would progress as desired.

On Mar 21, 2017, at 6:36 AM, Dirk Zimoch <[email protected]> wrote:

I think that would be possible. I will have a look. Be aware that not all ports can provide this event. For example asyn may not know when a RS232 cable has been plugged in.

-- 
Eric Norum
[email protected]





References:
StreamDevice exception handlers Eric Norum
Re: StreamDevice exception handlers Dirk Zimoch

Navigate by Date:
Prev: Re: StreamDevice exception handlers Eric Norum
Next: EPICS NTNDArray ImageJ Viewer Plugin Prototype working Madden, Timothy J.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: StreamDevice exception handlers Eric Norum
Next: EPICS NTNDArray ImageJ Viewer Plugin Prototype working Madden, Timothy J.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024