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  2017  2018  2019  <20202021  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  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: aSub debug output
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>, "Daykin, Evan" <daykin at frib.msu.edu>
Date: Wed, 2 Dec 2020 16:06:10 -0800
On 12/2/20 3:19 PM, Johnson, Andrew N. wrote:
> I don’t think Evan needs to set MSI for the record to go into an INVALID/LINK alarm state if one or more of the links isn’t connected, that should be happening anyway. This example uses a subRecord but the same rules apply, the subroutine isn’t called if any of the input links aren’t connected:
> 

Ok, I see.  I was only looking at dbCaGetLink() in dbCa.c, where recGblInheritSevr() is called,
which is a no-op unless one of the MS modifiers is present.  Of course a disconnected link
will always 'return -1', which triggers the calling dbGetLink() in dbLink.c to raise LINK_ALARM.

https://github.com/epics-base/epics-base/blob/dc99d63df8af0d6adacc8425741ce128fb28160f/modules/database/src/ioc/db/dbCa.c#L449

https://github.com/epics-base/epics-base/blob/dc99d63df8af0d6adacc8425741ce128fb28160f/modules/database/src/ioc/db/dbLink.c#L332

References:
aSub debug output Daykin, Evan via Tech-talk
Re: aSub debug output Johnson, Andrew N. via Tech-talk
RE: aSub debug output Daykin, Evan via Tech-talk
Re: aSub debug output Michael Davidsaver via Tech-talk
Re: aSub debug output Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: aSub debug output Johnson, Andrew N. via Tech-talk
Next: Re: EPICS support for Harvard Pump 33 DDS Syringe Pump Li, Ji via Tech-talk
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  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: aSub debug output Johnson, Andrew N. via Tech-talk
Next: RE: aSub debug output Daykin, Evan via Tech-talk
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  2018  2019  <20202021  2022  2023  2024 
ANJ, 03 Dec 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·