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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Suppress modbus output |
From: | Mark Rivers <[email protected]> |
To: | "'Wallace, Alex'" <[email protected]>, "[email protected]" <[email protected]> |
Date: | Mon, 28 Nov 2016 20:36:44 +0000 |
Hi Alex, You can do the following to turn off messages: asynSetTraceMask(“port”,-1,0) where “port” is the name of the asyn port, -1 means all addresses, and 0 means all asyn trace mask bits are cleared (ASYN_TRACE_ERROR, ASYN_TRACE_FLOW, etc.). What versions of asyn and modbus are you running? In asyn R4-27 I changed the standard EPICS device support (asyn/devEpics) so that there should only be a single error message per record when a port disconnects and another single error
message per record when a port reconnects. However, I just looked at the Modbus driver, and it prints an error message when it gets an I/O error from the underlying TCP or serial driver. It should not do that, it should just pass the error string up to device support. Can you send me the error messages you are getting and I will fix the Modbus driver so that it does not print error messages when the device is disconnected. Mark From: [email protected] [mailto:[email protected]]
On Behalf Of Wallace, Alex Is there a flag or option for the Modbus connection functions to suppress the output when the connection is lost? My IOC logs are filling up! Thanks, -Alex |