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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | StreamDevice - disable INVALID/CALC alarm for @mismatch |
From: | "Sobhani, Bayan via Tech-talk" <[email protected]> |
To: | "[email protected]" <[email protected]> |
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 |