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 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
<== Date ==> <== Thread ==>

Subject: Re: StreamDevice exception handlers
From: Eric Norum <eric@norum.ca>
To: Dirk Zimoch <dirk.zimoch@psi.ch>
Cc: "tech-talk@aps.anl.gov Talk" <tech-talk@aps.anl.gov>
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 <dirk.zimoch@psi.ch> 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
eric@norum.ca





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  <2017
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  <2017
ANJ, 21 Mar 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·