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: StreamDevice exception handlers
From: Eric Norum <[email protected]>
To: "[email protected] Talk" <[email protected]>
Date: Mon, 20 Mar 2017 15:53:24 -0700
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.
-- 
Eric Norum
[email protected]



Navigate by Date:
Prev: RE: AreaDetector / ADURL queries Mark Rivers
Next: 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 
Navigate by Thread:
Prev: Re: new MVME5500, device "gei0" not found Dirk Zimoch
Next: 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