EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Error reporting from device support for output style records
From: "J. Frederick Bartlett ([email protected])" <[email protected]>
To: [email protected]
Date: Thu, 31 May 2001 01:02:41 CDT
  Having worked with EPICS for several years now and having built
device support modules for several classes of records, I was amazed to
discover that I had no real comprehension of how alarm conditions
detected by device support (usually device access errors) were handled
by output style records -- analog output, long output, etc.. For input
style records, device support usually sets the UDF (undefined value)
field to zero and record support senses this condition and sets the
(UDF_ALARM, INVALID_ALARM) condition.

  Output style records, although they also have the UDF field, do not
appear to use it to communicate a device failure from device support
to record support. It seems only to be used only in the closed-loop mode
to report a failure to obtain a value from the desired output link
(DOL).

  So, how does record support detect that an access failure has
occurred during a write to an output device and propagate that
information to an interested CA client? Is record support expected to
call recGblSetSevr directly? If so, why was this not done for input
style records as well? Unfortunately, neither the chapter on record
support or the chapter on device support in the "Application
Developers Guide" offer any guidance on this question.

						Fritz



Replies:
Re: Error reporting from device support for output style records Benjamin Franksen

Navigate by Date:
Prev: Re: Build failure for if_depen.c Kazuro FURUKAWA
Next: Re: Error reporting from device support for output style records Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Build failure for if_depen.c Kazuro FURUKAWA
Next: Re: Error reporting from device support for output style records Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·