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  2012  <20132014  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: StreamDevice "No reply from device" messages
From: Eric Norum <[email protected]>
To: John Dobbins <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 5 Dec 2013 11:41:58 -0800
Set the asyn trace flags to 0 for the port in question -- in particular the least-significant-bit which controls error-level messages.
From the IOC shell
asynSetTraceMask("<port>",-1, 0)
or use an asynRecord and a client of your choice.


On Dec 5, 2013, at 11:33 AM, John Dobbins <[email protected]> wrote:

All,

I frequently encounter this situation and am wondering how to best address it:

An IOC will have a device connected via StreamDevice. In my case it is typically a serial device connected though a serial-to-ethernet server. For some reason the serial device is not responding and the IOC console will have frequent "No reply from device" messages making it difficult to use the IOC console.

These messages come from StreamCore which calls error() - defined in StreamError to print to stderr.

I don't see any built in way to redirect these messages. I can imagine various changes but I am wondering what approach others may have taken or might suggest.

Regards,

John Dobbins
Cornell University

epics base R3.14.2
stream 2.5.1
asyn 4.19
linux-x86_64

-- 
Eric Norum
[email protected]





Replies:
RE: StreamDevice "No reply from device" messages Mark Rivers
References:
StreamDevice "No reply from device" messages John Dobbins

Navigate by Date:
Prev: StreamDevice "No reply from device" messages John Dobbins
Next: RE: StreamDevice "No reply from device" messages Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: StreamDevice "No reply from device" messages John Dobbins
Next: RE: StreamDevice "No reply from device" messages Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·