Experimental Physics and
| |||||||||||||||
|
Hello everyone, I'm using an Ethernet/232 converter which communicates between IOC and the RS232 device , and specify the Internet host and port numper like : drvAsynIPPortConfigure("L0","192.168.0.21:1",0,0,0). Then running the application, it occurs: [fel@fel iocPSM6003]$ ../../bin/linux-x86/PSM6003 st.cmd #!../../bin/linux-x86/PSM6003 ## You may have to change PSM6003 to something else ## everywhere it appears in this file ##< envPaths ##cd ${TOP} ## Register all support components dbLoadDatabase("../../dbd/PSM6003.dbd",0,0) PSM6003_registerRecordDeviceDriver(pdbbase) ## Load record instances dbLoadRecords("../../db/psm6003.db","user=felHost") ##dbLoadRecords("../../db/psm6003.db","P=PSM6003:,R=,L=0,A=0") ##drvAsynIPPortConfigure("L0","127.0!
.0.1",0,0,0) drvAsynIPPortConfigure("L0","192.168.0.21:1",0,0,0) ##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") ##asynOctetSetInputEos("L0",-1,"\n") ##asynOctetSetOutputEos("L0",-1,"\n") ##cd ${TOP}/iocBoot/${IOC} iocInit() Starting iocInit ############################################################################ ## EPICS R3.14.9- $R3-14-9-pre1$ $2006/11/20 21:09:36$ ## EPICS Base built Nov 20 2012 ############################################################################ 2012/12/12 11:08:38.678 asynManager::asynConnectCallback, port L0 error calling asynCommon!
->connect Can't connect to 192.168.0.21:1: Connection refused 2012/12/12 11:08:38.679 asynManager::asynConnectCallback, port L0 error calling asynCommon->connect Can't connect to 192.168.0.21:1: Connection refused 2012/12/12 11:08:38.680 Can't connect to 192.168.0.21:1: Connection refused L0 - 1 autoConnect could not connect 2012/12/12 11:08:38.681 asynManager::asynConnectCallback, port L0 error calling asynCommon->connect Can't connect to 192.168.0.21:1: Connection refused 2012/12/12 11:08:38.780 asynManager::asynConnectCallback, port L0 error calling asynCommon->connect Can't connect to 192.168.0.21:1: Connection refused 2012/12/12 11:08:38.781 asynManager::asynConnectCallback, port L0 error calling asynCommon->connect Can't connect to 192.168.0.21:1: Connection refused 2012/12/12 11:08:38.781 asynManager::asynConnectCallback, port L0 error calling asynCommon->connect Can't connect to 192.168.0.2
1:1: Connection refused 2012/12/12 11:08:38.784 asynManager:!
:asynConnectCallback, port L0 error calling asynCommon->connect Can't connect to 192.168.0.21:1: Connection refused 2012/12/12 11:08:38.785 asynManager::asynConnectCallback, port L0 error calling asynCommon->connect Can't connect to 192.168.0.21:1: Connection refused 2012/12/12 11:08:38.786 asynManager::asynConnectCallback, port L0 error calling asynCommon->connect Can't connect to 192.168.0.21:1: Connection refused iocInit: All initialization complete ## Start any sequence programs #seq sncxxx,"user=felHost" epics> [fel@fel iocPSM6003]$ So, what probably has caused my problem? Thanks, Demin zhang
| ||||||||||||||
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |