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  2013  2014  <20152016  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  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: problem about IPServerPort using ASYN
From: Mark Rivers <[email protected]>
To: bella <[email protected]>, EPICS <[email protected]>
Date: Wed, 13 May 2015 12:13:14 +0000
The problem is that the file devAB300.db uses the old devGpib device support.  That requires an asyn port driver that has registered as an interrupt source on the asynInt32 interface.

Why are you loading that file?  It is intended to be used with a port driver that was loaded with drvAsynIPPortConfigure, not with drvAsynIPServerPortConfigure.

If you are trying to make a TCP server then you need to write some C code that gets called by the drvAsynIPServerPortConfigure port.  That driver just takes care of creating the sockets and calling bind(), etc.  Are you sure this is what you are trying to do?  If so, please look at the examples in asyn/testIPServerApp.

Mark

________________________________
From: [email protected] [[email protected]] on behalf of bella [[email protected]]
Sent: Tuesday, May 12, 2015 10:06 PM
To: EPICS
Subject: problem about IPServerPort using ASYN

Hi,
Recently I want to set up a TCP server and make it to a virtual device by using EPICS. The example testIPServerApp runs normally which doesnot use the devicesupport, but when I use the drvAsynIPServerPortConfigure and start the IOC, I have the problems as followed.

## Register all support components
dbLoadDatabase "dbd/AB300.dbd"
AB300_registerRecordDeviceDriver pdbbase
## Load record instances
#dbLoadRecords("db/xxx.db","user=yuHost")
dbLoadRecords("db/devAB300.db","P=AB300,R=,L=0,A=0")
drvAsynIPServerPortConfigure("L0","10.40.18.201:5200",2,0,0,0)
cd /home/yu/ioc/ab300/iocBoot/iocAB300
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.2 $Date: Mon 2011-12-12 14:09:32 -0600$
## EPICS Base built Aug 10 2014
############################################################################
2015/05/07 13:59:52.336 L0 devGpib registerSrqHandler failed asynManager:getInterruptPvt Driver does not support interrupts on interface asynInt32
iocRun: All initialization complete
## Start any sequence programs
#seq sncxxx,"user=yuHost"
epics>

The server can't set up normally, and the communication is failed. I don't understand what these words mean "L0 devGpib registerSrqHandler failed asynManager:getInterruptPvt Driver does not support interrupts on interface asynInt32".
I wonder someone who can help me to sovle the problem. Thanks so much!

Best regards!







References:
problem about IPServerPort using ASYN bella

Navigate by Date:
Prev: problem about IPServerPort using ASYN bella
Next: Re: DBD/DB validator? Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: problem about IPServerPort using ASYN bella
Next: Problems building on Cygwin Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·