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  <20202021  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  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: areaDetector crashes EPICS IOC and autosave failure
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: Jong Woo Kim <Jong.Woo.Kim at asu.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Jong Woo Kim <jongwoo.email at gmail.com>
Date: Thu, 30 Jan 2020 17:39:49 +0000

Hi Jong Woo,

 

Ø     Actually data hasn't been collected

 

You have also not told us how you are collecting the data.  Are you using the Stream interface or the FileWriter interface? Are you using an areaDetector plugin to save the data, or are you just using the HDF5 file produced by the Eiger server?

 

Mark

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Jong Woo Kim via Tech-talk
Sent: Thursday, January 30, 2020 10:33 AM
To: tech-talk at aps.anl.gov
Cc: Jong Woo Kim <Jong.Woo.Kim at asu.edu>; Jong Woo Kim <jongwoo.email at gmail.com>
Subject: areaDetector crashes EPICS IOC and autosave failure

 

Hello,

 

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]$


References:
areaDetector crashes EPICS IOC and autosave failure Jong Woo Kim via Tech-talk

Navigate by Date:
Prev: RE: areaDetector crashes EPICS IOC and autosave failure Mark Rivers via Tech-talk
Next: Re: CAS-client thread issues in areaDetector IOC Wlodek, Jakub 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: areaDetector crashes EPICS IOC and autosave failure Mark Rivers via Tech-talk
Next: Problems with scaler record and base 7.0.3.1 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  <20202021  2022  2023  2024 
ANJ, 06 Feb 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·