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: 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>
> 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
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 |