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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: RE: Using Macros in the Alarm Tree
From: "Lloyd, Tate Wallace via Tech-talk" <tech-talk at aps.anl.gov>
To: "Kasemir, Kay" <kasemirk at ornl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 7 Jun 2023 15:31:05 +0000

Thank you for your help, Kay.

 

Best,

Tate

 

From: Kasemir, Kay <kasemirk at ornl.gov>
Sent: Wednesday, June 7, 2023 5:27 AM
To: Lloyd, Tate Wallace <lloyd28 at llnl.gov>; tech-talk at aps.anl.gov
Subject: Re: Using Macros in the Alarm Tree

 

> Is there a way to implement macros in the alarm tree such that a single item with keywords can be added and several different PVs are included in that item?

 

You can export/import the alarm config in an XML format. That allows you to use for example python scripts to generate the alarm config XML from some site-specific database that has information about all your PVs, the channel finder, or whatever you want.

You can also make use of the hierarchical alarm tree structure to define links to overview displays or generic guidance just once on a higher level and have them be presented for all the subtree nodes.

 

Having said that, the goal should not be to rapidly add as many alarms as possible, using scripts and macros to expedite the process.

That way you’re likely to end up with an alarm configuration that is huge and useless.

It’s not a race where you need to add alarms faster than operators can handle them.

Instead, each alarm should be added after discussions between

  • A subsystem expert who can describe the purpose of the alarm and provide handling guidance
  • An EPICS person who can identify or maybe create a suitable alarm trigger PV, locate or maybe create a display that can be linked from the alarm
  • Somebody from operations to check that the alarm description and handling guideline make sense to operators and maybe alert operators of the new alarm

 

In the overall process, a right-click in the alarm tree, “Add Item” to enter the PV name, guidance and display is just a 30 second operation.

For more, see “Alarm Guidelines” on https://controlssoftware.sns.ornl.gov/training/2022_USPAS/

 

-Kay


References:
Using Macros in the Alarm Tree Lloyd, Tate Wallace via Tech-talk
Re: Using Macros in the Alarm Tree Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: softioc ewen wang via Tech-talk
Next: motor R7-3-1 released Kevin Peterson 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  <20232024 
Navigate by Thread:
Prev: Re: Using Macros in the Alarm Tree Kasemir, Kay via Tech-talk
Next: softioc ewen wang 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  <20232024 
ANJ, 07 Jun 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·