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  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: How to detect AsynIPPort disconnect?
From: Dirk Zimoch via Tech-talk <[email protected]>
To: EPICS <[email protected]>
Date: Thu, 14 Feb 2019 11:51:10 +0100
Hello,

I have a network device connected with drvAsynIPPort. When I switch off the device, the asyn port stays in "connected" state for about 15 minutes.

Writes to the device report no error, reads time out of course. But the port is still shown as connected. I have an exceptionCallback installed, but that is not triggered.

How can I make asyn find out within a reasonable time if the device is still connected?

Using asyn 4.34 and EPICS 7.0.1.

Dirk

Replies:
Re: How to detect AsynIPPort disconnect? Torsten Bögershausen via Tech-talk

Navigate by Date:
Prev: Re: ioc crash with ip module (synaps) TPG261 message too small=0 Heinz Junkes via Tech-talk
Next: Re: How to detect AsynIPPort disconnect? Torsten Bögershausen 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  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Data migration Pearson, Matthew R. via Tech-talk
Next: Re: How to detect AsynIPPort disconnect? Torsten Bögershausen 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  2021  2022  2023  2024