Hi Jong Woo,
You have not told us what version of ADEiger, ADCore, EPICS base, etc. you are using.
Ø
a) It keeps failing to open 'sseq_setting.req' file (Purple in the following message)
Did you uncomment this line from ADCore/iocBoot/EXAMPLE_commonPlugin_settings.req?
#file "sseqRecord_settings.req", P=$(P), S=AcquireSequence
If so you also need to uncomment this line from ADCore/iocBoot/EXAMPLE_commonPlugins.cmd
#set_requestfile_path("$(CALC)/calcApp/Db")
Ø
b) It keeps failing to writing 'auto_settings.sav' file (Blue in the following message)
Ø
../save_restore.c(1774): [0xd]=write_it:Permission denied
That error seems pretty simple. It is a file permission problem. The files in that directory, or the directory itself, must not have write permission for the account that is running ADEiger application. Fix the file permissions.
Ø
c) When the data acquisition is done on eigerDetector, it crashes EPICS IOC
(Red in the following message)
Ø
Actually data hasn't been collected
Segmentation fault (core dumped)
You have a core dump file. You need to run gdb on that to find where it crashed.
Run this:
gdb /path/to/ADEiger_executable core.xxx
where core.xxx is the name of your core dump file. Once you get the gdb> prompt type this command
backtrace
Mark
When the data collection is done on 'eigerDetector.adl', EPICS IOC is crashed and actually data hasn't been collected.
In addition, whatever parameters I changed on 'eigerDetector' are not applied in autosave. These are the summary followed by the message.
a) It keeps failing to open 'sseq_setting.req' file (Purple in the following message)
I made sure that this file has contents and it is in a right folder
support/calc-R3-7-3/calcApp/Db/sseq_settings.req
support/calc-R3-7-3/db/sseq_settings.req
b) It keeps failing to writing 'auto_settings.sav' file (Blue in the following message)
It keeps trying to save settings every 30 second as it is set on the first purple line. But it can't.
c) When the data acquisition is done on eigerDetector, it crashes EPICS IOC
(Red in the following message)
Actually data hasn't been collected
--------------------------------------------------- Message on monitor--------------------------------------------------------------
############################################################################
## EPICS R3.15.6
## EPICS Base built Dec 2 2019
############################################################################
reboot_restore: entry for file 'auto_settings.sav'
reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
*** restoring from './autosave/auto_settings.sav' at initHookState 6 (before record/device init) ***
save_restore:myFileCopy: Can't open file './autosave/auto_settings.sav_200127-151325'
save_restore: Can't write backup file.
2020/01/27 15:13:25.455 asynPortDriver:drvUserCreate: addr=0, cannot find parameter CLEAR
EIG1:cam1:FWClear devAsynInt32::initCommon drvUserCreate
Bad init_rec return value PV: EIG1:cam1:FWClear ao: init_record
reboot_restore: entry for file 'auto_settings.sav'
reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
*** restoring from './autosave/auto_settings.sav' at initHookState 7 (after record/device init) ***
reboot_restore: done with file 'auto_settings.sav'
iocRun: All initialization complete
# Avoid deluge of messages when debugging
#dbpf $(PREFIX)cam1:PoolUsedMem.SCAN Passive
# save things every thirty seconds
create_monitor_set("auto_settings.req", 30, "P= EIG1:")
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
epics> save_restore: Can't connect to all status PV(s)
auto_settings.sav: 1330 of 1330 PV's connected
save_restore: Can't connect to status PV(s) for list 'auto_settings.sav'
save_restore:write_it - unable to open file './autosave/auto_settings.sav' [200127-151357]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
save_restore:write_save_file: Can't write save file. [200127-151357]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
../save_restore.c(1774): [0xd]=write_it:Permission denied
save_restore:write_it - unable to open file './autosave/auto_settings.sav' [200127-151427]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
save_restore:write_save_file: Can't write save file. [200127-151427]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
../save_restore.c(1774): [0xd]=write_it:Permission denied
Segmentation fault (core dumped)
[iocEiger]$