Experimental Physics and
| |||||||||||||||
|
I am running EPICS 3.14.8.2, tornado 2.2, asyn 4.5, streamDevice 2.0 on mvme167 and ppc2304 CPUs with a serial port server. I am able to connect to the serial devices with the generic serial record, but streamDevice gives me a connection error. asynReport() shows the port disconnected until I connect with the generic serial record or turn on the trace masks. Am I missing something in the initialization, or is there a problem with the code. Rodney Porter
Sr. Scientific Programmer
Data Aquisition & Detector
Systems
Intense
Pulsed Neutron Source
Argonne National Laboratory 9700 So. Cass Ave Argonne, IL 60439 USA Ph. (630) 252-7151 E-mail: [email protected] IPNS website: www.pns.anl.gov Most of boot output follows:
____________________________________________________________________________
dbLoadDatabase("$(TOP)/dbd/ancVx.dbd") interrupt: ei0: reset value = 0 = 0x0 ancVx_registerRecordDeviceDriver(pdbbase) value = 0 = 0x0 # Disable Logging iocLogDisable = 1 iocLogDisable = 0x41e738: value = 1 = 0x1 ############################################################################### # Asyn Configuration. drvAsynSerialPortConfigure("L0","/tyCo/1",0,0,0) value = 0 = 0x0 drvAsynIPPortConfigure("L7","192.168.1.251:2007",0,0,0) value = 0 = 0x0 drvAsynIPPortConfigure("L8","192.168.1.251:2108",0,0,0) value = 0 = 0x0 drvAsynIPPortConfigure("L9","192.168.1.251:2009",0,0,0) value = 0 = 0x0 drvAsynIPPortConfigure("L10","192.168.1.251:2010",0,0,0) value = 0 = 0x0 drvAsynIPPortConfigure("L11","192.168.1.251:2011",0,0,0) value = 0 = 0x0 drvAsynIPPortConfigure("L12","192.168.1.251:2012",0,0,0) value = 0 = 0x0 drvAsynIPPortConfigure("L13","192.168.1.251:2013",0,0,0) value = 0 = 0x0 drvAsynIPPortConfigure("L14","192.168.1.251:2014",0,0,0) value = 0 = 0x0 drvAsynIPPortConfigure("L15","192.168.1.251:2015",0,0,0) value = 0 = 0x0 drvAsynIPPortConfigure("L16","192.168.1.251:2016",0,0,0) value = 0 = 0x0 ############################################################################### # StreamDevice Configuration. epicsEnvSet("STREAM_PROTOCOL_PATH", "$(TOP)/protocols") value = 0 = 0x0 ############################################################################### # Load EPICS Records # Uncomment Records and change macro substitutions according to your application dbLoadRecords("$(TOP)/db/event.db","INST=porter,NN=0,MM=0") value = 0 = 0x0 dbLoadRecords("$(TOP)/db/runTime.db","INST=porter,NN=0") value = 0 = 0x0 dbLoadRecords("$(TOP)/db/lksh.db","INST=porter,NN=0,PORT=L8") value = 0 = 0x0 dbLoadRecords("$(TOP)/db/lksh.db","INST=porter,NN=1,PORT=L0") value = 0 = 0x0 dbLoadRecords("$(TOP)/db/porterMotor.db") value = 0 = 0x0 dbLoadRecords("$(TOP)/db/posChanger.db","INST=porter,NN=0") value = 0 = 0x0 dbLoadRecords("$(TOP)/db/motorDev2.db","INST=porter,MDEV=huber,NN=0") value = 0 = 0x0 dbLoadRecords("$(TOP)/db/motorDev3.db","INST=porter,MDEV=mdev,NN=0") value = 0 = 0x0 dbLoadRecords("$(TOP)/db/motorDev6.db","INST=porter,MDEV=xyz,NN=0") value = 0 = 0x0 dbLoadRecords("$(AUTOSAVE)/asApp/Db/save_restoreStatus.db", "P=porter:sr:") value = 0 = 0x0 dbLoadRecords("$(ASYN)/db/asynRecord.db", "P=porter,R=asyn,PORT=L8,ADDR=0,OMAX=0,IMAX=0") value = 0 = 0x0 cd startup value = 0 = 0x0 ############################################################################### oms58Setup(6, 0x3000, 190, 5, 10) value = 0 = 0x0 ############################################################################### iocInit Starting iocInit ############################################################################ ### EPICS IOC CORE built on Mar 30 2006 ### EPICS R3.14.8.2 $R3-14-8-2$ $2006/01/06 15:55:13$ ############################################################################ reboot_restore: entry for file 'pos.sav' reboot_restore (v4.7): entry for file 'pos.sav' reboot_restore: Found filename 'pos.sav' in restoreFileList. *** restoring from '/net/iocappsDev/rporter/inst/autosave/porter/pos.sav' at initHookState 5 *** ../dbrestore.c(96): [0x3d0002]=myFileCopy:S_objLib_OBJ_UNAVAILABLEreboot_restore: done with file 'pos.sav' reboot_restore: entry for file 'set.sav' reboot_restore (v4.7): entry for file 'set.sav' reboot_restore: Found filename 'set.sav' in restoreFileList. *** restoring from '/net/iocappsDev/rporter/inst/autosave/porter/set.sav' at initHookState 5 *** ../dbrestore.c(96): [0x3d0002]=myFileCopy:S_objLib_OBJ_UNAVAILABLE../dbrestore.c(96): [0x3d0002]=myFileCopy:S_objLib_OBJ_UNAVAILABLEreboot_restore: done with file 'set.sav' Businterface 'L8' not found for 'porter:lksh_0:idnstrg' porter:lksh_0:idnstrg: Can't attach to bus L8 -1 porter:lksh_0:idnstrg: streamInitRecord failed Businterface 'L0' not found for 'porter:lksh_1:idnstrg' porter:lksh_1:idnstrg: Can't attach to bus L0 -1 porter:lksh_1:idnstrg: streamInitRecord failed Businterface 'L8' not found for 'porter:ls330_0:atype' porter:ls330_0:atype: Can't attach to bus L8 -1 porter:ls330_0:atype: streamInitRecord failed Businterface 'L8' not found for 'porter:ls330_0:btype' porter:ls330_0:btype: Can't attach to bus L8 -1 porter:ls330_0:btype: streamInitRecord failed Businterface 'L8' not found for 'porter:ls330_0:cuid' porter:ls330_0:cuid: Can't attach to bus L8 -1 porter:ls330_0:cuid: streamInitRecord failed Businterface 'L0' not found for 'porter:ls330_1:atype' porter:ls330_1:atype: Can't attach to bus L0 -1 porter:ls330_1:atype: streamInitRecord failed Businterface 'L0' not found for 'porter:ls330_1:btype' porter:ls330_1:btype: Can't attach to bus L0 -1 porter:ls330_1:btype: streamInitRecord failed Businterface 'L0' not found for 'porter:ls330_1:cuid' porter:ls330_1:cuid: Can't attach to bus L0 -1 porter:ls330_1:cuid: streamInitRecord failed Businterface 'L8' not found for 'porter:lksh_0:rst' porter:lksh_0:rst: Can't attach to bus L8 -1 porter:lksh_0:rst: streamInitRecord failed Businterface 'L0' not found for 'porter:lksh_1:rst' porter:lksh_1:rst: Can't attach to bus L0 -1 porter:lksh_1:rst: streamInitRecord failed reboot_restore: entry for file 'set.sav' reboot_restore (v4.7): entry for file 'set.sav' reboot_restore: Found filename 'set.sav' in restoreFileList. *** restoring from '/net/iocappsDev/rporter/inst/autosave/porter/set.sav' at initHookState 6 *** reboot_restore: done with file 'set.sav' iocInit: All initialization complete value = 0 = 0x0 ############################################################################### # Configure autoSave for EPICS autoSaveRestore. (task named "save_restore") # save positions every five seconds create_monitor_set("pos.req",5,"INST=porter") value = 0 = 0x0 # save other things every thirty seconds create_monitor_set("set.req",30,"INST=porter") value = 0 = 0x0 ############################################################################### Done executing startup script /net/iocappsDev/rporter/R3.14.8/ioc/Anc/iocBoot/iocporter-172/st.cmd iocporter-172> ../dbrestore.c(96): [0x3d0002]=write_it:S_objLib_OBJ_UNAVAILABLE../dbrestore.c(96): [0x3d0002]=write_it:S_objLib_OBJ_UNAVAILABLE../dbrestore.c(96): [0x3d0002]=write_it:S_objLib_OBJ_UNAVAILABLE../dbrestore.c(96): [0x3d0002]=myFileCopy:S_objLib_OBJ_UNAVAILABLEporter:lksh_0:idnstrg: Record not initialised correctly porter:lksh_1:idnstrg: Record not initialised correctly porter:lksh_0:idnstrg: Record not initialised correctly porter:lksh_1:idnstrg: Record not initialised correctly
| ||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |