Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: question about alh
From: Luedeke Andreas <andreas.luedeke@psi.ch>
To: 王伟珍 <wwz04@mails.tsinghua.edu.cn>, tech-talk@aps.anl.gov
Date: Wed, 03 Jan 2007 11:56:32 +0100
王伟珍 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

Replies:
Re: question about alh Brian Bevins
References:
question about alh 王伟珍

Navigate by Date:
Prev: Another SLAC LCLS job has been posted Chestnut, Ronald P.
Next: EPICS Source forge site Rees, NP (Nick)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: question about alh Maren Purves
Next: Re: question about alh Brian Bevins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·