EPICS Home

Experimental Physics and Industrial Control System


 
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  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: StreamDevice - disable INVALID/CALC alarm for @mismatch
From: "Sobhani, Bayan via Tech-talk" <tech-talk@aps.anl.gov>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Mon, 4 Nov 2019 18:53:04 +0000
We have temperature sensors that sometimes send junk characters even though they are not supposed to. To compensate for this, I added an @mismatch routine to the IOC's protocol file which catches the junk characters. This handles it nicely except it puts the record into an Invalid alarm state

I understand this is expected behavior since the StreamDevice documentation says:

"It means that the device has sent something else than what the protocol expected. If the handler starts with an in command, then this command reparses the old input from the unsuccessful in. Error messages from the unsuccessful in are suppressed. Nevertheless, the record will end up in INVALID/CALC state (see chapter Record Processing)."

However, for our purposes we do not consider a fallback onto the mismatch function to be significant enough to put the record into an alarm state. Is it possible to prevent the @mismatch from taking the record into an alarm state?

Alex

Replies:
RE: StreamDevice - disable INVALID/CALC alarm for @mismatch O'Hea, James (DLSLtd, RAL, LSCI) via Tech-talk

Navigate by Date:
Prev: Re: EPICS Base-3.15.7 and EPICS 7.0.3.1 Released Williams Jr., Ernest L. via Tech-talk
Next: Re: Why should I care about breakpoint table monotonicity? Andrew Johnson via Tech-talk
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  <20192020 
Navigate by Thread:
Prev: Re: execute python from st.cmd Bruno Martins via Tech-talk
Next: RE: StreamDevice - disable INVALID/CALC alarm for @mismatch O'Hea, James (DLSLtd, RAL, LSCI) via Tech-talk
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  <20192020