Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: Minimize severity link
From: Kay-Uwe Kasemir <kasemirk@ornl.gov>
To: tech talk <tech-talk@aps.anl.gov>
Date: Thu, 25 May 2006 14:02:11 -0400
Hi:

Another example where maximize severity doesn't work
is when you want to allow overrides:
MS will maximize in any case, so if you want to say
  severity = override ? 0 : severity_of_input,
you also have to do that yourself.
See short "EPICS Interlock Experience" talk on
http://www.diamond.ac.uk/Technology/Controls/EPICS_programme.htm
from the Diamond EPICS meeting.

Maybe "minimize severity" should be added to the
database code, though. I'm often happy if at least
_something_ is working, and minimize severity
would provide me with a quick indication for that ;-)

-Kay

On May 25, 2006, at 13:22 , Chestnut, Ronald P. wrote:

You can create a calc record with the severities as input. There you can do the MINIMUM you want, and push the result to an mbbi record, which has severities for each value.

Ron Chestnut

-----Original Message-----
From: Harley N [mailto:barleyguy@mail.sisna.com]
Sent: Thursday, May 25, 2006 8:50 AM
To: tech-talk@aps.anl.gov
Subject: Minimize severity link

Hello. I'm wondering if there is a way to propagate the MINIMUM severity from a database link. For example, my application has fields for two types of data, sites and channels. If all channels in a site are in alarm, I'd like to fire a common alarm. Or if all sites for a channel are in alarm, I'd like to fire a common alarm. So the common alarm record should always contain the lowest level of severity for the group of records that link to it.

This should be a lot like maximize severity, but different.


Thanks for any help,


Harley.



Harley Nelson
Software Engineer
Echostar Communications

_________________________________
SISNA...more service, less money.
http://www.sisna.com/exclusive/


References:
RE: Minimize severity link Chestnut, Ronald P.

Navigate by Date:
Prev: RE: Minimize severity link Chestnut, Ronald P.
Next: Acqiris PCI ADC Eric Berryman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: RE: Minimize severity link Chestnut, Ronald P.
Next: Acqiris PCI ADC Eric Berryman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·