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  <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: Dirk Zimoch <[email protected]>
To: <[email protected]>
Date: Tue, 21 Mar 2017 14:36:38 +0100
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.

Dirk

On 20.03.2017 23:56, Eric Norum wrote:
Drat.  Autocorrect got me.  Second sentence should read ‘not reachable’.

StreamDevice provides ‘@init’ exception handlers for performing actions at IOC startup time.  This works fine as long as the target device is up and running at that time.  If the device is not readable at that time these exception handlers don’t have the desired effect.  Would it be possible to provide a ‘@reconnect’ handler that would be invoked when the ASYN port made the transition from disconnected to connected?

I don’t think that this would allow initialization of output record values since AFAIK that’s possible only at record initialization time, but would at least allow for initialization command sequences to be sent to the device to get it into some desired operating mode.

Replies:
Re: StreamDevice exception handlers Eric Norum
Re: StreamDevice exception handlers Eric Norum
References:
StreamDevice exception handlers Eric Norum

Navigate by Date:
Prev: RE: AreaDetector / ADURL queries Mark Rivers
Next: Re: StreamDevice Checksum Pseudo-Converter Dirk Zimoch
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: StreamDevice exception handlers Eric Norum
Next: Re: StreamDevice exception handlers Eric Norum
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 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·