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: [asyn] link already open!
From: Mark Rivers <[email protected]>
To: Pavel Maslov <[email protected]>, EPICS Tech Talk <[email protected]>
Date: Fri, 9 Aug 2013 13:16:39 +0000
Please provide some more information:

- When does the error occur?  At iocInit when connecting to the device for the first time?  When the server first comes on line?  When the server is restarted?

- The server is at port 7001 on the localhost.  Is that server always running when the IOC is running?  Does the server disconnect after each transaction?

You have created the drvAsynIPPort with the default value of 0 for the last 3 parameters, so it is using noAutoConnect=0, which means that asynManager will automatically try to connect the port before queuing a request.  If the connection attempt fails then asynManager will not queue the request.  So I am having a hard time understanding how StreamDevice found the port disconnected, unless your server disconnected in the time between when asynManager queued the request and when StreamDevice was called.

Mark


________________________________
From: [email protected] [[email protected]] on behalf of Pavel Maslov [[email protected]]
Sent: Friday, August 09, 2013 4:20 AM
To: EPICS Tech Talk
Subject: [asyn] link already open!

Hello all,

When can this message pop up:

2013/08/09 11:03:11.051131 lambda1 lambda-ps:CURR:MAX:RBV: pasynCommon->connect() failed: 127.0.0.1:7001<http://127.0.0.1:7001>: Link already open!
2013/08/09 11:03:11.052968 lambda1 lambda-ps:CURR:MAX:RBV: Protocol aborted



--
Regards,


Pavel Maslov, MS
Controls Engineer



Replies:
Re: [asyn] link already open! Pavel Maslov
References:
[asyn] link already open! Pavel Maslov

Navigate by Date:
Prev: Re: [asyn] link already open! Pavel Maslov
Next: RE: [asyn] link already open! 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: RE: [asyn] link already open! Mark Rivers
Next: Re: [asyn] link already open! Pavel Maslov
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 ·