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  2015  <20162017  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  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: streams drivers
From: Peter Blanco <[email protected]>
To: [email protected]
Date: Wed, 22 Jun 2016 08:49:18 -0400

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.
The only place I could build StreamDevice without getting errors was EPICS/base, otherwise it would complain about not finding stuff.
ASYN is defined in my release file for StreamDevice, but is not listed by dbior, as you can see from the printout.  Instead AsynDriver is listed separately,. Is that normal ?

The call to drvAsynIPPortConfigure("L0", "192.168.1.93:5025", 0, 0, 0, 0) works fine, as it puts my device into Remote, but that's it.

The main errors I get for example are:
Cannot find a bus named 'L0' for 'glassmanTest:1:CurrentSetpoint ,
glassmanTest:1:CurrentSetpoint: Can't attach to bus L0

I also typed 'help'so you can see the cmnds available, asyn stuff is there. Do  you see anything that should be there that isn't ?
also, dbl does give me the list of PVs, (not shown)

Does anyone know what may be wrong ? Would greatly appreciate your help.

Thanks, P.Blanco


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.
Replies:
Re: streams drivers Ralph Lange
RE: streams drivers Mark Rivers

Navigate by Date:
Prev: RE: Archiver Appliance stuck in "Initial sampling" state rory.clarke
Next: Re: streams drivers Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Archiver Appliance stuck in "Initial sampling" state rory.clarke
Next: Re: streams drivers Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·