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  2022  <20232024  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  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: autosave Command xxx not found.
From: 周逸媚 via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 20 Jun 2023 16:36:06 +0800 (GMT+08:00)

Hi,

I have the same question as :https://epics.anl.gov/tech-talk/2023/msg00603.php

I have compiled autosave and added the connection in the following file.

But it still reports an error:


set_requestfile_path(".")
st.cmd line 17: Command set_requestfile_path not found.
set_savefile_path("/home/EPICS/","autosave")
st.cmd line 18: Command set_savefile_path not found.
save_restoreSet_IncompleteSetsOk(1)
st.cmd line 19: Command save_restoreSet_IncompleteSetsOk not found.
save_restoreSet_DatedBackupFiles(0)
st.cmd line 20: Command save_restoreSet_DatedBackupFiles not found.
set_pass0_restoreFile("shineioc.sav")
st.cmd line 21: Command set_pass0_restoreFile not found.
cas WARNING: Configured TCP port was unavailable.
cas WARNING: Using dynamically assigned TCP port 40981,
cas WARNING: but now two or more servers share the same UDP port.
cas WARNING: Depending on your IP kernel this server may not be
cas WARNING: reachable with UDP unicast (a host's IP in EPICS_CA_ADDR_LIST)
iocRun: All initialization complete
create_monitor_set("shineioc.req",10,"P=SHINE-BI:")
st.cmd line 26: Command create_monitor_set not found.

st.cmd:

dbLoadDatabase("../../dbd/testAsynPortDriver.dbd")
testAsynPortDriver_registerRecordDeviceDriver(pdbbase)
testAsynPortDriverConfigure("testAPD", 1000)
dbLoadRecords("../../db/testAsynPortDriver.db","P=SHINE-BI:,R=,PORT=testAPD,ADDR=0,TIMEOUT=10000")
dbLoadRecords("../../db/asynRecord.db","P=SHINE-BI:,R=,PORT=testAPD,ADDR=0,OMAX=,IMAX=")
asynSetTraceIOMask("testAPD",0,0x2)
set_requestfile_path(".")
set_savefile_path("/home/EPICS/","autosave")
save_restoreSet_IncompleteSetsOk(1)
save_restoreSet_DatedBackupFiles(0)
set_pass0_restoreFile("shineioc.sav")
iocInit()
create_monitor_set("shineioc.req",10,"P=SHINE-BI:")


xxx/configure/RELEASE:

#RELEASE Location of external products

SUPPORT=/home/EPICS/support
-include $(TOP)/../configure/SUPPORT.$(EPICS_HOST_ARCH)

#  IPAC is only necessary if support for Greensprings IP488 is required
#  IPAC release V2-7 or later is required.
#IPAC=$(SUPPORT)/ipac-2-15

# SEQ is required for testIPServer
#SNCSEQ=$(SUPPORT)/seq-2-2-5

#  EPICS_BASE 3.14.6 or later is required
EPICS_BASE=/home/EPICS/base-7.0.7
ASYN=/home/EPICS/asyn4-38
AUTOSAVE=/home/EPICS/support/autosave-R5-10-2
-include $(TOP)/../configure/EPICS_BASE.$i(EPICS_HOST_ARCH)

-include $(TOP)/../RELEASE.local
-include $(TOP)/../RELEASE.$(EPICS_HOST_ARCH).local
-include $(TOP)/configure/RELEASE.local


xxx/src/Makefile:

TOP=../..

include $(TOP)/configure/CONFIG

#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================

DBD += testAsynPortDriver.dbd

LIBRARY_IOC += testAsynPortDriverSupport
testAsynPortDriverSupport_SRCS += testAsynPortDriver.cpp
testAsynPortDriverSupport_LIBS += asyn
testAsynPortDriverSupport_LIBS += $(EPICS_BASE_IOC_LIBS)
testAsynPortDriver_DBD += asSupport.dbd
#=============================

PROD_IOC += testAsynPortDriver

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
testAsynPortDriver_SRCS_DEFAULT += testAsynPortDriver_registerRecordDeviceDriver.cpp testAsynPortDriverMain.cpp
testAsynPortDriverVx_SRCS_vxWorks  += testAsynPortDriver_registerRecordDeviceDriver.cpp
testAsynPortDriver_LIBS += testAsynPortDriverSupport asyn
testAsynPortDriver_LIBS += $(EPICS_BASE_IOC_LIBS)
testAsynPortDriver_LIBS += autosave
testAsynPortDriver_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary

#===========================

include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE


Best Regards,

Yimei


Replies:
Re: autosave Command xxx not found. Mark Rivers via Tech-talk

Navigate by Date:
Prev: VME configuration : mrfioc2-master version in the new vme-evg-300, vme-evr-300 environment 이민균 via Tech-talk
Next: time delayed using express3 lynn 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  2022  <20232024 
Navigate by Thread:
Prev: VME configuration : mrfioc2-master version in the new vme-evg-300, vme-evr-300 environment 이민균 via Tech-talk
Next: Re: autosave Command xxx not found. 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  2022  <20232024 
ANJ, 20 Jun 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·