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  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 
<== Date ==> <== Thread ==>

Subject: How to create EPICS device support for a simple serial or GPIB device
From: Vahe Sahakyan <sahakyan@asls.candle.am>
To: tech-talk@aps.anl.gov
Date: Tue, 23 Apr 2013 15:49:16 +0500 (AMST)

Hello,

I followed the instructions described in Eric Norum's "How to create EPICS device support for a simple serial or GPIB device" paper. Everything goes ok until I run the st.cmd. I got following message:

root@ubuntu:/home/diagnos/EpicsVG/ab300/iocBoot/iocAB300# ../../bin/linux-x86_64/AB300 st.cmd
dbLoadDatabase("../../dbd/AB300.dbd",0,0)
AB300_registerRecordDeviceDriver(pdbbase)
dbLoadRecords("../../db/devAB300.db","P=AB300:,R=,L=0,A=0")
# Create a diagnostic asynRecord
#cd ${AB300}
dbLoadRecords("db/asynRecord.db","P=AB300,R=Test,PORT=L0,ADDR=0,IMAX=0,OMAX=0")
filename="../dbLexRoutines.c" line number=243
No such file or directory dbRead opening file db/asynRecord.db
#The following command is for a serial line terminal concentrator
drvAsynIPPortConfigure("L0","172.28.28.86:4001",0,0,0)
2013/04/23 11:43:19.175 Can't connect to 172.28.28.86:4001: Connection refused L0 -1 autoConnect could not connect
#The following commands are for a local serial line
#drvAsynSerialPortConfigure("L0","/dev/ttyS0",0,0,0)
#asynSetOption("L0", -1, "baud", "9600")
#asynSetOption("L0", -1, "bits", "8")
#asynSetOption("L0", -1, "parity", "none")
#asynSetOption("L0", -1, "stop", "1")
#asynSetOption("L0", -1, "clocal", "Y")
#asynSetOption("L0", -1, "crtscts", "N")
asynSetTraceMask("L0",-1,0x9)
asynSetTraceIOMask("L0",-1,0x2)
iocInit()
Starting iocInit
############################################################################
## EPICS R3.14.12.2 $Date: Mon 2011-12-12 14:09:32 -0600$
## EPICS Base built Apr 16 2013
############################################################################
cas warning: Configured TCP port was unavailable.
cas warning: Using dynamically assigned TCP port 38680,
cas warning: but now two or more servers share the same UDP port.
cas warning: Depending on your IP kernel this server may not be
cas warning: reachable with UDP unicast (a host's IP in EPICS_CA_ADDR_LIST)
iocRun: All initialization complete
../online_notify.c: CA beacon (send to "172.28.28.127:5065") error was "Connection refused"

Please, can anybody help me with my problems - What means:
1). dbLoadRecords("db/asynRecord.db","P=AB300,R=Test,PORT=L0,ADDR=0,IMAX=0,OMAX=0")
filename="../dbLexRoutines.c" line number=243
No such file or directory dbRead opening file db/asynRecord.db

2). cas warning: Configured TCP port was unavailable.
cas warning: Using dynamically assigned TCP port 38680,
cas warning: but now two or more servers share the same UDP port.
cas warning: Depending on your IP kernel this server may not be
cas warning: reachable with UDP unicast (a host's IP in EPICS_CA_ADDR_LIST)
iocRun: All initialization complete
../online_notify.c: CA beacon (send to "172.28.28.127:5065") error was "Connection refused"

Thank you in advance,
Vahe.


Replies:
RE: How to create EPICS device support for a simple serial or GPIB device Mark Rivers

Navigate by Date:
Prev: FW: Calling ca_context_create(1) too late michael.abbott
Next: RE: Multiple copies of IOC Mogamad-Amien Crombie
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 
Navigate by Thread:
Prev: RE: caget delays Mark Rivers
Next: RE: How to create EPICS device support for a simple serial or GPIB device 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 
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 ·