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  <20222023  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  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Trying to create softIoc to group alarms in one variable
From: "Hartman, Steven via Tech-talk" <tech-talk at aps.anl.gov>
To: "Marco A. Barra Montevechi Filho" <marco.filho at lnls.br>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 17 Feb 2022 22:05:08 +0000


On Feb 17, 2022, at 4:01 PM, Marco A. Barra Montevechi Filho via Tech-talk <tech-talk at aps.anl.gov> wrote:

Im trying to create a project in which a softIoc receives many alarm fields, operates in them with the or "||" operator of the calc module and returns a value that represents the most severe activated status


Hi Marco—

which can be used to propogate alarm severity across links. That may simplify what you are trying to do.


First question: am i doing it right? I noticed that when i first initialize the ioc and run "caget d:test1.STAT" i get "UDF"


Right. Before a record has been processed, it is invalid with a status of undefined (UDF). 


 one of the messages i get is "Error: Invalid character '|'" which i think is weird because the operator is in the calc documentation(?). 

Try quoting: 
field(CALC,"A||B||C")

-- 
Steven Hartman
hartmansm at ornl.gov




References:
Trying to create softIoc to group alarms in one variable Marco A. Barra Montevechi Filho via Tech-talk

Navigate by Date:
Prev: Trying to create softIoc to group alarms in one variable Marco A. Barra Montevechi Filho via Tech-talk
Next: Re: phoebus alarm-logging UI blank Paul Sichta 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  <20222023  2024 
Navigate by Thread:
Prev: Trying to create softIoc to group alarms in one variable Marco A. Barra Montevechi Filho via Tech-talk
Next: Error while installing the StreamDevice ZALA ARYANSINH 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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·