EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: ASYN connection concerns
From: "David Dudley" <[email protected]>
To: <[email protected]>
Date: Tue, 02 Sep 2008 08:28:48 -0500
I seem to have developed what may be a problem with ASYN and the
'autoconnect' option.

I have a site where I am communicating with remote hardware using a IP
to serial converter.  The site is connected to a different power grid
and may, at times, loose power.

My IOC is connecting with that site using drvAsynIPPortConfigure, with
the auto-connect option.

When I start the IOC running, if power is off to the remote site,
things time out and I retry just as I should.  When the remote site
comes up, things connect properly, and everything works fine.

Things remain fine until the remote site power fails, at which time,
the IOC 'waits forever'.  When the remote site power is restored and the
remote site restarts the IOC does not continue, but will wait for a good
hour or two before it faults, and will then restart.

My question is: If I have auto-connect enabled, does Asyn open a
connection when the IOC initially issues a request for the remote, and
then maintain that same connection indefinitely, or does it build up and
shut down a connection each time a request is generated?

Timeouts are fairly long on this connection, as it goes through a lot
to get to the endpoint.

David
BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:David Dudley
TEL;WORK:826-1265
ORG:;MIS
TEL;PREF;FAX:880-3741
EMAIL;WORK;PREF;NGW:[email protected]
N:Dudley;David
TITLE:Functional Analyst
END:VCARD


Replies:
Re: ASYN connection concerns Benjamin Franksen

Navigate by Date:
Prev: RTMES vs VxWorks GOURNAY Jean-Francois
Next: Re: ASYN connection concerns Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: RTMES vs VxWorks Elder Matias
Next: Re: ASYN connection concerns Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024