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  2016  2017  2018  2019  2020  2021  <20222023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Stream error when drive motro
From: 网易邮件中心 via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 16 Aug 2022 16:56:23 +0800 (CST)
Hi all,
     I  met a question. I use EPICS 3.15.8 ,linux os.
     I want to use a driver in github https://github.com/iattarla/StepmotorEpics.

     But failed.Here is the output of st.cmd. I have no idea about it.
**********************************************************************
[linxs@rhel8 iocstepmotor]$ ../../bin/linux-x86_64/stepmotor st.cmd.serial 
#!../../bin/linux-x86_64/stepmotor
## You may have to change stepmotor to something else
## everywhere it appears in this file
< envPaths
epicsEnvSet("IOC","iocstepmotor")
epicsEnvSet("TOP","/home/linxs/Desktop/yy/StepmotorEpics-develop")
epicsEnvSet("EPICS_BASE","/usr/local/EPICS/base-3.15.8")
epicsEnvSet("SNCSEQ","/usr/local/EPICS/extensions/src/seq")
epicsEnvSet("ASYN","/usr/local/EPICS/extensions/src/asyn")
epicsEnvSet("STREAM","/usr/local/EPICS/extensions/src/streamdevice")
epicsEnvSet("CALC","/usr/local/EPICS/extensions/src/calc")
epicsEnvSet("STREAM_PROTOCOL_PATH", "/home/linxs/Desktop/yy/StepmotorEpics-develop/protocols/")
cd /home/linxs/Desktop/yy/StepmotorEpics-develop
## Register all support components
dbLoadDatabase "dbd/stepmotor.dbd"
Declaration of recordtype(scalcout) preceeded full definition.
Error at or before "}" in file "dbd/stepmotor.dbd" line 5567
stepmotor_registerRecordDeviceDriver pdbbase
registerRecordDeviceDriver failed aSub
registerRecordDeviceDriver failed aai
registerRecordDeviceDriver failed aao
registerRecordDeviceDriver failed ai
registerRecordDeviceDriver failed ao
registerRecordDeviceDriver failed bi
registerRecordDeviceDriver failed bo
registerRecordDeviceDriver failed calcout
registerRecordDeviceDriver failed dfanout
registerRecordDeviceDriver failed event
registerRecordDeviceDriver failed fanout
registerRecordDeviceDriver failed histogram
registerRecordDeviceDriver failed lso
registerRecordDeviceDriver failed mbbi
registerRecordDeviceDriver failed mbbiDirect
registerRecordDeviceDriver failed mbboDirect
registerRecordDeviceDriver failed permissive
registerRecordDeviceDriver failed printf
registerRecordDeviceDriver failed sel
registerRecordDeviceDriver failed state
registerRecordDeviceDriver failed sub
registerRecordDeviceDriver failed subArray
## Load record instances
#dbLoadRecords("db/xxx.db","user=bpmHost")
dbLoadRecords("db/stepmotor.db")
Record "motor_no" is of unknown type "ai"
Error at or before ")" in file "db/stepmotor.db" line 6
Error: syntax error
dbLoadRecords: failed to load db/stepmotor.db
drvAsynSerialPortConfigure("ipconn","/dev/ttyACM0",0,0,0)
asynSetOption("ipconn",-1,'baud',"115200")
asynSetOption("ipconn",-1,"bits","8")
asynSetOption("ipconn",-1,"parity","none")
asynSetOption("ipconn",-1,"stop","1")
asynSetTraceMask("ipconn",-1,0x9)
asynSetTraceIOMask("ipconn",-1,0x2)
cd /home/linxs/Desktop/yy/StepmotorEpics-develop/iocBoot/iocstepmotor
iocInit
Starting iocInit
############################################################################
## EPICS R3.15.8
## EPICS Base built Nov  4 2021
############################################################################
iocRun: All initialization complete
## Start any sequence programs
#seq sncxxx,"user=bpmHost"
epics> dbl
epics> 
***********************************************************
      I doubt: 
     a) I use epics 3.15.8,but the use 3.14 or 3.13 ,does it matter?
     b) why so many registerRecordDeviceDriver failed error.
     Any suggestion was appreciate.

Regards,
Liang

Replies:
Re: Stream error when drive motro Mark Rivers via Tech-talk

Navigate by Date:
Prev: PVs in galil-3-6 Jong Woo Kim via Tech-talk
Next: Re: Stream error when drive motro Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: PVs in galil-3-6 Mark Rivers via Tech-talk
Next: Re: Stream error when drive motro Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·