Experimental Physics and Industrial Control System
Luedeke Andreas wrote:
> 王伟珍 wrote:
>
>> In alh, is there other sounds besides beeping when alarms are present. i.e can I set one sound for alarm minor severity, and another sound for major severity. And can the sound last a certain time then stop automatically?
>>
>>
> Hi 王伟珍,
> there is no direct feature of the alarmhandler to support for
> a) playing a different sound depending on the alarm severity or
> b) to stop the acoustic alarm after a certain time.
>
> But as Maren pointed out, you can launch commands on severity change.
> To set a command for all channels of a group, you need to put after the
> group definition:
> GROUP NULL Linac-Magnets
> $SEVRCOMMAND UP_INVALID ca_put ALIMA:ALARM 3
> $SEVRCOMMAND UP_MAJOR ca_put ALIMA:ALARM 2
> $SEVRCOMMAND DOWN_MAJOR ca_put ALIMA:ALARM 2
> $SEVRCOMMAND UP_MINOR ca_put ALIMA:ALARM 1
> $SEVRCOMMAND DOWN_MINOR ca_put ALIMA:ALARM 1
> $SEVRCOMMAND DOWN_NO_ALARM ca_put ALIMA:ALARM 0
>
> You would need a server application that handles the beeping.
>
> But this is a clumsy solution, because if you acknowledge the alarm, it
> will have no influence on the beeping.
> Of course you can have another panel to stop the beeping.
> At the SLS we have a similar scheme to provide "Alarm area overview
> screens":
> each major group writes the alarm state to a channel like in the example
> above.
> We run into problems if several instances of the same alarmhandler
> configuration are started and if alarms are disabled in one instance and
> not in the other.
>
> If someone has a solution that handles alarm acknowledgements and/or
> multiple alh instances, I would be interested.
>
> Happy New Year!
> Andreas
>
We have been working on a system (for some time now) that handles
acknowledgments and multiple instances by adding a "$UASEVRPV" command
to the alh configuration. This allows a GROUP to set a PV based on the
highest unacknowledged severity in the group. We are still having some
problems with it so I have not released it.
It would still require a separate PV monitoring program to actually
sound the alarms as desired here.
--
Brian S. Bevins, PE
Computer Scientist / Mechanical Engineer
Thomas Jefferson National Accelerator Facility
"Progress, far from consisting in change,
depends on retentiveness. Those who cannot
remember the past are condemned to repeat it."
-- George Santayana
- References:
- question about alh 王伟珍
- Re: question about alh Luedeke Andreas
- Navigate by Date:
- Prev:
Next EPICS Meeting ? Darrell Nineham
- Next:
Re: Next EPICS Meeting ? Andrew Johnson
- 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:
Re: question about alh Luedeke Andreas
- Next:
Another SLAC LCLS job has been posted Chestnut, Ronald P.
- 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