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: StreamDevice exception handlers
From: Eric Norum <wenorum@lbl.gov>
To: "tech-talk@aps.anl.gov Talk" <tech-talk@aps.anl.gov>
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
wenorum@lbl.gov



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