EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Alarm for noisy readback channel
From: Paul Nord <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Wed, 22 Feb 2012 16:25:19 -0600
I've got a network device that's misbehaving.  It "sometimes" reports an absolutely ridiculous value.  I'd like to set an alarm on this PV but I don't want the alarm sounding once or twice an hour when there's not really anything wrong.  (Never cry wolf.)

In the typical failure mode it reports a "crazy" value once and then goes back to the normal value.  (The device actually returns the voltage value for a channel when you ask for a current.  And it formats a reply and happily returns "Current: 3600 A", which would be impressive for a supply running at 3600 V.  It works out to 13 MegaWatts.  The real current is just ~100 uA.)

What's the best way to deal with this?
	A CALC pv that takes this value as an input but returns zero if the reading was outside of some range?
	A CALC pv that counts the number of readings which are outside of the proper range?  (e.g. A>1.0?(VAL+1):0 )

Are there other good mechanisms?

Paul


record(ai, "$(SYSTEM):measurement_current_$(SLOT)$(ID)")
{
 field(DTYP, "Snmp")
 field(SCAN, ".5 second")
 field(PREC, "6")
 field(EGU,  "")
 field(INP,  "@$(HOST) pwd WIENER-CRATE-MIB::outputMeasurementCurrent.$(SLOT)$(ID) Float: 100")
 field(ADEL, "1")
}



Replies:
Re: Alarm for noisy readback channel Paul Sichta

Navigate by Date:
Prev: Re: Problems with priorities in epicsThreadCreate (part of the EPICS OSI software layer) Andrew Johnson
Next: Alarm for noisy readback channel Paul Nord
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CSS X-Y Graph John Dobbins
Next: Re: Alarm for noisy readback channel Paul Sichta
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·