Hi Donny,
Are you using an alarm server (BEAST) or just using a simple LED in CSS ?
In Beast I think you have the possibility to agregate the alarm easily. Expert will answer you better than m.
Otherwise a way to do it with the database record:
record(calc, "$(MyMarvelousPV):Defects") {
field(DESC, "global alarm severity")
field(CALC, "0")
field(INPA, "C2TS:COND:DefectsSecuBox1.SEVR CPP MS")
field(INPB, "C2TS:COND:DefectsSecuBox2.SEVR CPP MS")
field(INPC, "C2TS:COND:DefectsTemp.SEVR CPP MS")
field(INPD, "C2TS:COND:DefectsVac.SEVR CPP MS")
field(INPE, "C2TS:COND:DefectsRFPow.SEVR CPP MS")
field(INPF, "C2TS:COND:DefectsRFSrc.SEVR CPP MS")
field(INPG, "C2TS:COND:DefectsPUPM.SEVR CPP MS")
}
The MS field (for Maximize Severityà means that my PV $(MyMarvelousPV):Defects will have the field SEVR (severity) of the higher severity of my inputs.
After that you can display easily your $(MyMarvelousPV):Defects in CSS.
cheers,
Alexis GAGET
CEA Saclay - DRF/Irfu/DIS/LDISC
alexis.gaget at cea.fr
________________________________________
De : Tech-talk [tech-talk-bounces at aps.anl.gov] de la part de Donny Domagoj Cosic via Tech-talk [tech-talk at aps.anl.gov]
Envoyé : vendredi 27 novembre 2020 08:43
À : tech-talk at aps.anl.gov
Objet : Alarm indicator in CSS
Hello,
I am still relatively new to EPICS, but I am slowly building up the
system in our lab. In many of the presentations about EPICS I see a nice
alarm panel with LED displays that turn on when an alarm is raised. I
have been trying to implement this but I am having some difficulties.
I set alarm levels in my IOC for various sub systems such as radiation,
vacuum etc. and now I would like to have a general indicator in CSS that
will indicate an alarm has been raised in any of these sub systems. So,
for example, if any of the radiation probes trigger an alarm, a general
indicator will signal this to the user as an LED in CSS.
Is there any tutorials on how I would implement such a indicator or
would you be able to provide me with a overview on how to implement it?
Thank you,
--
Donny Domagoj Cosic
Institut Ruđer Bošković, Bijenička cesta 54, 10000 Zagreb, Croatia
- Replies:
- RE:Alarm indicator in CSS Donny Domagoj Cosic via Tech-talk
- References:
- Alarm indicator in CSS Donny Domagoj Cosic via Tech-talk
- Navigate by Date:
- Prev:
Re: Supported 'Scopes? Henrique Silva via Tech-talk
- Next:
RE:Alarm indicator in CSS Donny Domagoj Cosic 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
- Navigate by Thread:
- Prev:
Alarm indicator in CSS Donny Domagoj Cosic via Tech-talk
- Next:
RE:Alarm indicator in CSS Donny Domagoj Cosic 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
|