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  2020  2021  2022  2023  2024  <2025 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  2020  2021  2022  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: Re: IOC, QServ, and AMSG / alarm.message
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Ivan Finch - STFC UKRI <ivan.finch at stfc.ac.uk>, Aqeel Alshafei - STFC UKRI <Aqeel.Alshafei at stfc.ac.uk>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 18 Feb 2025 09:56:39 -0800
On 2/18/25 04:29, Ivan Finch - STFC UKRI wrote:

It appears that this is not the intended behaviour of the AMSG field?

To take the last question first.  No, not really.  (at least if I understand
you correctly)

The intent of AMSG is as context to help differentiate the different causes
of an alarm for a single record.

As a motivating example, PVXS PR #100 which I asked Aqeel to test adds a line:

           (void)recGblSetSevrMsg(plink->precord, LINK_ALARM, INVALID_ALARM, "%s Disconn",
                                  dbLinkFieldName(plink));

Here a PVA link signaling an INVALID/LINK alarm this will set AMSG to
eg. "INPA Disconn" for a calc record, where it can otherwise be difficult to
know which of several INP* fields in causing an alarm condition.

Now we have to get into more philosophical "theory of alarms" territory.

I was once in a discussion with an Operations group with strong opinions about
what an Alarm was.  They had their reasoning, which I mostly agreed with.  But we
could not agree to redesign the EPICS alarm model, and instead ended up with an
understanding that EPICS alarms are actually "engineering notifications".  A lower
level input into an alarm management system.

So my short, perhaps less helpful, answer is that the sort of high level meaning
which I think you are after is best expressed in a high level alarm service.

It sounds like your "bridging software" is a start along the road which has led
others to creating services like [1].

[1] https://urldefense.us/v3/__https://accelconf.web.cern.ch/icalepcs2009/papers/tua001.pdf__;!!G_uCfscf7eWS!d1ZF2uqRBKYTpTShk0LaepY-uU7XJJHkt6eDCO9zxr-P9sPvma4QFmrdC93PBXsV4DyC8FvS3z849W6JG3mz38V4Jw$
Replies:
Re: IOC, QServ, and AMSG / alarm.message Ralph Lange via Tech-talk
References:
IOC, QServ, and AMSG / alarm.message Ivan Finch - STFC UKRI via Tech-talk
Re: IOC, QServ, and AMSG / alarm.message Michael Davidsaver via Tech-talk
Re: IOC, QServ, and AMSG / alarm.message Aqeel Alshafei - STFC UKRI via Tech-talk
Re: IOC, QServ, and AMSG / alarm.message Michael Davidsaver via Tech-talk
Re: IOC, QServ, and AMSG / alarm.message Aqeel Alshafei - STFC UKRI via Tech-talk
Re: IOC, QServ, and AMSG / alarm.message Michael Davidsaver via Tech-talk
RE: IOC, QServ, and AMSG / alarm.message Ivan Finch - STFC UKRI via Tech-talk

Navigate by Date:
Prev: RE: StreamDevice Checksum formatting bug Baily, Scott A via Tech-talk
Next: Re: StreamDevice Checksum formatting bug Zimoch Dirk 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  2020  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: RE: IOC, QServ, and AMSG / alarm.message Ivan Finch - STFC UKRI via Tech-talk
Next: Re: IOC, QServ, and AMSG / alarm.message Ralph Lange 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  2020  2021  2022  2023  2024  <2025
ANJ, 19 Feb 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·