Experimental Physics and
| |||||||||||||||
|
Hello, I'm trying to use the “Glassman” Power Supply driver which uses streams, also tried a couple other streams drivers & also went through the tutorial steps to build one from scratch, all have same problem. Below is a screen printout that I got when running the "Glassman" driver TestApp . I believe the problem may be with the
StreamDevice itself. blanco@kepcoubuntu-Precision-WorkStation-490:~/Desktop/EPICS/DEBUG/Glassman/iocBoot/iocGlassman$ '/home/blanco/Desktop/EPICS/DEBUG/Glassman/iocBoot/iocGlassman/Glassman' st.cmd #!../../bin/darwin-x86/Glassman ############################################################################ # Set up environment epicsEnvSet("P", "glassmanTest:") epicsEnvSet("R", "1:") epicsEnvSet("GLASSMAN_IP", "192.168.1.93:5025") < envPaths epicsEnvSet("ARCH","linux-x86_64") epicsEnvSet("IOC","iocGlassman") epicsEnvSet("TOP","/home/blanco/Desktop/EPICS/DEBUG/Glassman") epicsEnvSet("STREAM","/home/blanco/Desktop/EPICS/base/StreamDevice") epicsEnvSet("ASYN","/home/blanco/Desktop/EPICS/support/asyn") epicsEnvSet("EPICS_BASE","/home/blanco/Desktop/EPICS/base") epicsEnvSet("STREAM_PROTOCOL_PATH", "../../db") ############################################################################ # Register support components dbLoadDatabase "../../dbd/Glassman.dbd" Glassman_registerRecordDeviceDriver pdbbase ############################################################################ # Configure hardware drvAsynIPPortConfigure("L0", "192.168.1.93:5025", 0, 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") #asynSetTraceIOMask("L0",-1,0x2) #asynSetTraceMask("L0",-1,0x09) ############################################################################ # Load record instances dbLoadRecords("../../db/devGlassman.db","P=glassmanTest:,R=1:,PORT=L0,Vmax=1000,Imax=300") dbLoadRecords("../../db/asynRecord.db","P=iocGlassman:,R=asyn,PORT=L0,ADDR=0,OMAX=100,IMAX=100") ############################################################################ # Start EPICS # cd "${TOP}/iocBoot/${IOC}" iocInit Starting iocInit ############################################################################ ## EPICS R3.14.12.5 $Date: Tue 2015-03-24 09:57:35 -0500$ ## EPICS Base built Jun 21 2016 ############################################################################ 2016/06/21 10:39:25.764800 _main_ Cannot find a bus named 'L0' for 'glassmanTest:1:CurrentSetpoint' 2016/06/21 10:39:25.764890 _main_ glassmanTest:1:CurrentSetpoint: Can't attach to bus L0 0 2016/06/21 10:39:25.764902 _main_ glassmanTest:1:CurrentSetpoint: Record initialization failed 2016/06/21 10:39:25.764926 _main_ Cannot find a bus named 'L0' for 'glassmanTest:1:VoltageSetpoint' 2016/06/21 10:39:25.764940 _main_ glassmanTest:1:VoltageSetpoint: Can't attach to bus L0 0 2016/06/21 10:39:25.764955 _main_ glassmanTest:1:VoltageSetpoint: Record initialization failed 2016/06/21 10:39:25.764978 _main_ Cannot find a bus named 'L0' for 'glassmanTest:1:Version' 2016/06/21 10:39:25.764995 _main_ glassmanTest:1:Version: Can't attach to bus L0 0 2016/06/21 10:39:25.765009 _main_ glassmanTest:1:Version: Record initialization failed 2016/06/21 10:39:25.765032 _main_ Cannot find a bus named 'L0' for 'glassmanTest:1:StMon_' 2016/06/21 10:39:25.765048 _main_ glassmanTest:1:StMon_: Can't attach to bus L0 0 2016/06/21 10:39:25.765062 _main_ glassmanTest:1:StMon_: Record initialization failed 2016/06/21 10:39:25.765082 _main_ Cannot find a bus named 'L0' for 'glassmanTest:1:OnOff' 2016/06/21 10:39:25.765097 _main_ glassmanTest:1:OnOff: Can't attach to bus L0 0 2016/06/21 10:39:25.765112 _main_ glassmanTest:1:OnOff: Record initialization failed 2016/06/21 10:39:26.267138 _main_ glassmanTest:1:Version: Record not initialised correctly iocRun: All initialization complete epicsThreadSleep(2) 2016/06/21 10:39:26.766826 scan1 glassmanTest:1:StMon_: Record not initialised correctly 2016/06/21 10:39:27.766823 scan1 glassmanTest:1:StMon_: Record not initialised correctly iocPause iocPause: IOC suspended epics> help Type 'help <command>' to see the arguments of <command>. # ClockTime_Report Glassman_registerRecordDeviceDriver asDumpHash asInit asSetFilename asSetSubstitutions ascar asdbdump asphag aspmem asprules aspuag astac asynAutoConnect asynEnable asynInterposeEosConfig asynInterposeFlushConfig asynOctetConnect asynOctetDisconnect asynOctetFlush asynOctetGetInputEos asynOctetGetOutputEos asynOctetRead asynOctetSetInputEos asynOctetSetOutputEos asynOctetWrite asynOctetWriteRead asynRegisterTimeStampSource asynReport asynSetAutoConnectTimeout asynSetMinTimerPeriod asynSetOption asynSetTraceFile asynSetTraceIOMask asynSetTraceIOTruncateSize asynSetTraceInfoMask asynSetTraceMask asynShowOption asynUnregisterTimeStampSource asynWaitConnect callbackSetQueueSize casr cd coreRelease date dbDumpBreaktable dbDumpDevice dbDumpDriver dbDumpField dbDumpFunction dbDumpMenu dbDumpPath dbDumpRecord dbDumpRecordType dbDumpRegistrar dbDumpVariable dbLoadDatabase dbLoadRecords dbLoadTemplate dbLockShowLocked dbNotifyDump dbPvdDump dbPvdTableSize dbReportDeviceConfig dba dbap dbb dbc dbcar dbd dbel dbgf dbgrep dbhcr dbior dbl dbla dblsr dbnr dbp dbpf dbpr dbs dbstat dbtgf dbtpf dbtpn dbtr drvAsynIPPortConfigure drvAsynIPServerPortConfigure drvAsynSerialPortConfigure eltc epicsEnvSet epicsEnvShow epicsMutexShowAll epicsParamShow epicsPrtEnvParams epicsThreadResume epicsThreadShow epicsThreadShowAll epicsThreadSleep errlog errlogInit errlogInit2 exit generalTimeReport gft help installLastResortEventProvider iocBuild iocInit iocLogInit iocLogShow iocPause iocRun iocshCmd pft pwd registryDeviceSupportFind registryDriverSupportFind registryDump registryFunctionFind registryRecordTypeFind scanOnceSetQueueSize scanpel scanpiol scanppl setIocLogDisable streamReload taskwdShow tpn var epics> dbior Driver: stream StreamDevice 2.7.6 built Jun 21 2016 10:23:43 registered bus interfaces: DebugInterface DummyInterface Driver: drvAsyn L0 multiDevice:No canBlock:Yes autoConnect:Yes epics>
Peter Blanco Test/Software Eng. Kepco Inc.
| ||||||||||||||
ANJ, 15 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |