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