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  2013  2014  2015  2016  2017  2018  2019  <2020 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
<== Date ==> <== Thread ==>

Subject: Re: Connection Timeout Using Asyn and StreamDevice with Ethernet Device
From: Kyle Hesse via Tech-talk <tech-talk@aps.anl.gov>
To: "Peterson, Kevin M." <kmpeters@anl.gov>, "Rivers, Mark L." <rivers@cars.uchicago.edu>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Thu, 2 Jan 2020 14:12:51 +0000
Mark and Kevin,

I wanted to thank you for your suggestions. Both came in handy.

Using Wireshark and tcpdump I was able to see several TCP Acknowledgements and TCP Retransmissions from the power meter. After five retransmissions the telnet connection would close. I contacted Mini-Circuits with this information and they were very accommodating. They developed new firmware which includes improvements to the device's networking and better error handling during interrupted communication. The firmware version can be downloaded here: http://yoni-il.minicircuits.com/download/PWR_8P_RC_Firm_A3.zip I also had to increase my ASYN/StreamDevice timeout to 2 seconds to avoid timing out on the EPICS side.

Thanks again and Happy New Year!

Kyle



From: Peterson, Kevin M. <kmpeters@anl.gov>
Sent: Thursday, November 7, 2019 4:27 PM
To: Kyle Hesse <hesse@jlab.org>; Rivers, Mark L. <rivers@cars.uchicago.edu>
Cc: tech-talk@aps.anl.gov <tech-talk@aps.anl.gov>
Subject: [EXTERNAL] Re: Connection Timeout Using Asyn and StreamDevice with Ethernet Device
 
I would suggest asking the manufacturer of the power meter how the meter
behaves when a client disconnects suddenly.

I've seen a problem like this in the past with a piezo controller that
would only connect to an EPICS IOC once for each power-cycle.  The
solution was a firmware upgrade that sent TCP keepalive packets and
terminated the connection after a TCP keepalive timeout.

Kevin

On 11/7/19 2:39 PM, Kyle Hesse via Tech-talk wrote:
>
> Yes, a restart of the IOC does not reconnect. I have to cycle power.
> AutoConnect does try its best though.

Navigate by Date:
Prev: Re: Ethernet question Bruno Martins via Tech-talk
Next: Re: Sphinx/CSS question Matt Newville 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  2019  <2020
Navigate by Thread:
Prev: RE: Ethernet to RS-232 Danfysik supply connection issues Kathryn Baker - UKRI STFC via Tech-talk
Next: Epics 7.0.4 java release Shroff, Kunal 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  2019  <2020
ANJ, 06 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·