Epics Base version = R3.15.9
Maxnet firmware version = MAXn-A000 ver:1.50, s/n:000487, FPGA:AAA4:02 BOOT:1.06 - Oregon Micro Systems
I already used motorOmsAsyn without autosave, now I want to use motorOmsAsyn with autosave.
I did autosave compile very well, but when I start ./st.cmd at motorOmsAsyn with autosave, I think it can not find autosave functions.
This is path of motorOmsAsyn: /usr/local/epics/synApps_6_1/support/motor-R7-1/modules/motorOmsAsyn/iocs/omsAsynIOC/iocBoot/iocOmsAsyn.
[root@localhost iocOmsAsyn]# ls
autosave autosave-req cdCommands Makefile MAXnet.cmd MAXnet.substitutions MAXv.cmd MAXv.substitutions pid.txt save_restore.cmd st.cmd
[root@localhost iocOmsAsyn]# ./st.cmd
< cdCommands
epicsEnvSet("ARCH","linux-x86_64")
epicsEnvSet("MOTOR","/usr/local/epics/synApps_6_1/support/motor-R7-1")
epicsEnvSet("SUPPORT","/usr/local/epics/synApps_6_1/support")
epicsEnvSet("ASYN","/usr/local/epics/synApps_6_1/support/asyn-R4-36")
epicsEnvSet("SNCSEQ","/usr/local/epics/synApps_6_1/support/seq-2-2-6")
epicsEnvSet("BUSY","/usr/local/epics/synApps_6_1/support/busy-R1-7-2")
epicsEnvSet("AUTOSAVE","/usr/local/epics/synApps_6_1/support/autosave-R5-10")
epicsEnvSet("OPTICS","/usr/local/epics/synApps_6_1/support/optics-R2-13-3")
epicsEnvSet("CALC","/usr/local/epics/synApps_6_1/support/calc-R3-7-3")
epicsEnvSet("EPICS_BASE","/usr/local/epics/base")
epicsEnvSet("STARUP","/usr/local/epics/synApps_6_1/support/motor-R7-1/modules/motorOmsAsyn/iocs/omsAsynIOC")
epicsEnvSet("AUTOSAVE_FILE","/usr/local/epics/synApps_6_1/support/motor-R7-1/modules/motorOmsAsyn/iocs/omsAsynIOC/iocBoot/iocOmsAsyn")
## Register all support components
dbLoadDatabase("/usr/local/epics/synApps_6_1/support/motor-R7-1/dbd/omsAsynSupport.dbd")
dbLoadDatabase("/usr/local/epics/synApps_6_1/support/motor-R7-1/modules/motorOmsAsyn/iocs/omsAsynIOC/dbd/omsAsyn.dbd")
omsAsyn_registerRecordDeviceDriver(pdbbase)
< MAXnet.cmd
# Serial
drvAsynSerialPortConfigure("MAXNET1","/dev/ttyUSB0",0,0,0)
asynSetOption("MAXNET1",0,"baud","115200")
asynSetOption("MAXNET1",0,"bits","8")
asynSetOption("MAXNET1",0,"parity","none")
asynSetOption("MAXNET1",0,"crtscts","Y")
# The IEOS depends on the firmware version
asynOctetSetInputEos("MAXNET1",0,"\n\r")
asynOctetSetInputEos("MAXNET1",0,"\n")
dbLoadTemplate("MAXnet.substitutions")
omsMAXnetConfig("MAXnet1", 10, "MAXNET1", 200, 2000, "AX LH PSO; AY LH PSO; AZ LH PSO; AT LH PSO; AU LH PSO; AV LL PSO; AR LH PSO; AS LH PSO; AW LH PSO; AK LH PSO;")
OMS Firmware Version: MAXn-A000 ver:1.50, s/n:000487, FPGA:AAA4:02 BOOT:1.06 - Oregon Micro Systems
It works well, when I do not use autosave.
But when I use autosave command, it can’t find autosave functions.
< save_restore.cmd
save_restoreSet_Debug(0)
save_restore.cmd line 5: Command save_restoreSet_Debug not found.
save_restoreSet_IncompleteSetsOk(1)
save_restore.cmd line 8: Command save_restoreSet_IncompleteSetsOk not found.
save_restoreSet_DatedBackupFiles(1)
save_restore.cmd line 10: Command save_restoreSet_DatedBackupFiles not found.
save_restoreSet_NumSeqFiles(3)
save_restore.cmd line 13: Command save_restoreSet_NumSeqFiles not found.
save_restoreSet_SeqPeriodInSeconds(300)
save_restore.cmd line 15: Command save_restoreSet_SeqPeriodInSeconds not found.
set_requestfile_path("/usr/local/epics/synApps_6_1/support/motor-R7-1/modules/motorOmsAsyn/iocs/omsAsynIOC/iocBoot/iocOmsAsyn/autosave-req")
save_restore.cmd line 25: Command set_requestfile_path not found.
set_savefile_path("/usr/local/epics/synApps_6_1/support/motor-R7-1/modules/motorOmsAsyn/iocs/omsAsynIOC/iocBoot/iocOmsAsyn/autosave")
save_restore.cmd line 26: Command set_savefile_path not found.
set_pass0_restoreFile("auto_settings2.sav")
save_restore.cmd line 35: Command set_pass0_restoreFile not found.
set_pass1_restoreFile("auto_settings2.sav")
save_restore.cmd line 36: Command set_pass1_restoreFile not found.
# specify directories in which to to search for included request files
set_requestfile_path("(AUTOSAVEFILE)/autosave-req")
save_restore.cmd line 40: Command set_requestfile_path not found.
iocInit
Starting iocInit
############################################################################
## EPICS R3.15.9
## EPICS Base built Apr 7 2022
############################################################################
iocRun: All initialization complete
## motorUtil (allstop & alldone)
#motorUtilInit("BL:HX:EH2:CXI:")
# -------------------------------------------------------------------------
# Autosave monitor
# -------------------------------------------------------------------------
create_monitor_set("auto_settings2.req",60)
st.cmd line 36: Command create_monitor_set not found.
##### Autosave End ####
# Boot complete
epics> dbl
TEST:CRX
Can you help me about this error? I did lots of things to use autosave, but still can’t solve this problem
Best and Regards,
Baeg.