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: Re: PilatusDetector-Requested threshold (0.00 eV) is out of range
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: 鲍康文 <baokw at sari.ac.cn>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 13 Feb 2023 13:16:05 +0000
Hi,

> 2023/02/13 11:07:31.042 pilatusDetector:readCamserver unexpected response from camserver, no OK, response=15 ERR Requested threshold (0.00 eV) is out of range

That error message is normal during iocInit.  It happens because the order in which records are processed during iocInit cannot be controlled, and it is processing another record before it is processed the threshold record which is still 0.  This is fine, because just after this happens the threshold will be set correctly.  You can ignore this error message.

> save_restore:readReqFile: unable to open file commonPlugin_settings.req. Exiting.

This is a problem.  It looks like perhaps you have not copied EXAMPLE_commonPlugin_settings.req to commonPlugin_settings.req in ADCore/iocBoot.

> 2023/02/13 11:07:31.003 pilatusDetector::readBadPixelFile, cannot open file /home/det/p2_det/config/bad_pixel.txt

This error is because you have set the string in the BadPixelFile file record to bad_pixel.txt.  That file does not exist.  You should clear the string the BadPixelFile record.

Mark




From: 鲍康文 <baokw at sari.ac.cn>
Sent: Monday, February 13, 2023 12:09 AM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: PilatusDetector-Requested threshold (0.00 eV) is out of range
 

Dear Mark,


We use Pilatus2M Detector,it can be worked,but have a problem



2023/02/13 11:08:01.098 pilatusDetector:readCamserver unexpected response from camserver, no OK, response=15 ERR Requested threshold (0.00 eV) is out of range.


this message is ...


i don't know What is problem...


the camserver is alive(it is OK in ping test and the medm can work)



< envPaths
epicsEnvSet("IOC","iocPilatus")
epicsEnvSet("TOP","/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADPilatus/iocs/pilatusIOC")
epicsEnvSet("ADPILATUS","/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADPilatus/iocs/pilatusIOC/../..")
epicsEnvSet("SUPPORT","/home/mx17b/epics/synApps/support")
epicsEnvSet("ASYN","/home/mx17b/epics/synApps/support/asyn-R4-33")
epicsEnvSet("AREA_DETECTOR","/home/mx17b/epics/synApps/support/areaDetector-R3-3-1")
epicsEnvSet("ADSUPPORT","/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADSupport")
epicsEnvSet("ADCORE","/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADCore")
epicsEnvSet("AUTOSAVE","/home/mx17b/epics/synApps/support/autosave-R5-9")
epicsEnvSet("BUSY","/home/mx17b/epics/synApps/support/busy-R1-7")
epicsEnvSet("CALC","/home/mx17b/epics/synApps/support/calc-R3-7-1")
epicsEnvSet("SNCSEQ","/home/mx17b/epics/synApps/support/seq-2-2-5")
epicsEnvSet("SSCAN","/home/mx17b/epics/synApps/support/sscan-R2-11-1")
epicsEnvSet("DEVIOCSTATS","/home/mx17b/epics/synApps/support/iocStats-3-1-15")
epicsEnvSet("EPICS_BASE","/home/mx17b/epics/base")
errlogInit(20000)
dbLoadDatabase("/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADPilatus/iocs/pilatusIOC/dbd/pilatusDetectorApp.dbd")


medmInit: Unable to load font widgetDM_4
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_6
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_8
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_10
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_12
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_14
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_16
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_18
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_20
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_22
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_24
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_30
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_36
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_40
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_48
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_60
  Trying default (fixed) instead
MEDM Version 3.1.11: Loading aliased fonts.................
pilatusDetectorApp_registerRecordDeviceDriver(pdbbase) 
# Prefix for all records
epicsEnvSet("PREFIX", "BL17B:")
# The port name for the detector
epicsEnvSet("PORT",   "PIL")
# The queue size for all plugins
epicsEnvSet("QSIZE",  "20")
# The maximim image width; used for row profiles in the NDPluginStats plugin
epicsEnvSet("XSIZE",  "1475")
# The maximim image height; used for column profiles in the NDPluginStats plugin
epicsEnvSet("YSIZE",  "1679")
# The maximum number of time seried points in the NDPluginStats plugin
epicsEnvSet("NCHANS", "2048")
# The maximum number of frames buffered in the NDPluginCircularBuff plugin
epicsEnvSet("CBUFFS", "500")
# The search path for database files
epicsEnvSet("EPICS_DB_INCLUDE_PATH", "/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADCore/db")
epicsEnvSet("EPICS_CAS_SERVER_PORT", "5078")
###
# Create the asyn port to talk to the Pilatus on port 41234.
drvAsynIPPortConfigure("camserver","10.30.63.181:41234")
# Uncomment the following to enable asynTrace on the camserver port
#asynSetTraceIOMask("camserver",0,2)
#asynSetTraceMask("camserver",0,9)
# Set the input and output terminators.
asynOctetSetInputEos("camserver", 0, "\x18")
asynOctetSetOutputEos("camserver", 0, "\n")
pilatusDetectorConfig("PIL", "camserver", 1475, 1679, 0, 0)
dbLoadRecords("/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADPilatus/iocs/pilatusIOC/../../db/pilatus.template","P=BL17B:,R=cam1:,PORT=PIL,ADDR=0,TIMEOUT=1,CAMSERVER_PORT=camserver")
# Create a standard arrays plugin
NDStdArraysConfigure("Image1", 5, 0, "PIL", 0, 0)
dbLoadRecords("/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADCore/db/NDStdArrays.template", "P=BL17B:,R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL,TYPE=Int32,FTVL=LONG,NELEMENTS=94965")
# Load all other plugins using commonPlugins.cmd
< /home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADCore/iocBoot/commonPlugins.cmd
# This is an example file for creating plugins
# It uses the following environment variable macros
# Many of the parameters defined in this file are also in commonPlugins_settings.req so if autosave is being
# use the autosave value will replace the value passed to this file.
# $(PREFIX)      Prefix for all records
# $(PORT)        The port name for the detector.  In autosave.
# $(QSIZE)       The queue size for all plugins.  In autosave.
# $(XSIZE)       The maximum image width; used to set the maximum size for row profiles in the NDPluginStats plugin and 1-D FFT
#                   profiles in NDPluginFFT.
# $(YSIZE)       The maximum image height; used to set the maximum size for column profiles in the NDPluginStats plugin
# $(NCHANS)      The maximum number of time series points in the NDPluginStats, NDPluginROIStats, and NDPluginAttribute plugins
# $(CBUFFS)      The maximum number of frames buffered in the NDPluginCircularBuff plugin
# $(MAX_THREADS) The maximum number of threads for plugins which can run in multiple threads. Defaults to 5.
# Create a netCDF file saving plugin
NDFileNetCDFConfigure("FileNetCDF1", 20, 0, "PIL", 0)
dbLoadRecords("NDFileNetCDF.template","P=BL17B:,R=netCDF1:,PORT=FileNetCDF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create a TIFF file saving plugin
NDFileTIFFConfigure("FileTIFF1", 20, 0, "PIL", 0)
dbLoadRecords("NDFileTIFF.template",  "P=BL17B:,R=TIFF1:,PORT=FileTIFF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create a JPEG file saving plugin
NDFileJPEGConfigure("FileJPEG1", 20, 0, "PIL", 0)
dbLoadRecords("NDFileJPEG.template",  "P=BL17B:,R=JPEG1:,PORT=FileJPEG1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create a NeXus file saving plugin
NDFileNexusConfigure("FileNexus1", 20, 0, "PIL", 0)
dbLoadRecords("NDFileNexus.template", "P=BL17B:,R=Nexus1:,PORT=FileNexus1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create an HDF5 file saving plugin
NDFileHDF5Configure("FileHDF1", 20, 0, "PIL", 0)
dbLoadRecords("NDFileHDF5.template",  "P=BL17B:,R=HDF1:,PORT=FileHDF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create a Magick file saving plugin
#NDFileMagickConfigure("FileMagick1", $(QSIZE), 0, "$(PORT)", 0)
#dbLoadRecords("NDFileMagick.template","P=$(PREFIX),R=Magick1:,PORT=FileMagick1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT)")
# Create 4 ROI plugins
NDROIConfigure("ROI1", 20, 0, "PIL", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDROI.template",       "P=BL17B:,R=ROI1:,  PORT=ROI1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
NDROIConfigure("ROI2", 20, 0, "PIL", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDROI.template",       "P=BL17B:,R=ROI2:,  PORT=ROI2,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
NDROIConfigure("ROI3", 20, 0, "PIL", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDROI.template",       "P=BL17B:,R=ROI3:,  PORT=ROI3,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
NDROIConfigure("ROI4", 20, 0, "PIL", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDROI.template",       "P=BL17B:,R=ROI4:,  PORT=ROI4,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create 8 ROIStat plugins
NDROIStatConfigure("ROISTAT1", 20, 0, "PIL", 0, 8, 0, 0, 0, 0, 5)
dbLoadRecords("NDROIStat.template",   "P=BL17B:,R=ROIStat1:  ,PORT=ROISTAT1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL17B:,R=ROIStat1:1:,PORT=ROISTAT1,ADDR=0,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL17B:,R=ROIStat1:2:,PORT=ROISTAT1,ADDR=1,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL17B:,R=ROIStat1:3:,PORT=ROISTAT1,ADDR=2,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL17B:,R=ROIStat1:4:,PORT=ROISTAT1,ADDR=3,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL17B:,R=ROIStat1:5:,PORT=ROISTAT1,ADDR=4,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL17B:,R=ROIStat1:6:,PORT=ROISTAT1,ADDR=5,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL17B:,R=ROIStat1:7:,PORT=ROISTAT1,ADDR=6,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDROIStatN.template",  "P=BL17B:,R=ROIStat1:8:,PORT=ROISTAT1,ADDR=7,TIMEOUT=1,NCHANS=2048")
# Create a processing plugin
NDProcessConfigure("PROC1", 20, 0, "PIL", 0, 0, 0)
dbLoadRecords("NDProcess.template",   "P=BL17B:,R=Proc1:,  PORT=PROC1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create a TIFF file plugin to read dark and flatfield images into the processing plugin
NDFileTIFFConfigure("PROC1TIFF", 20, 0, "PIL", 0)
dbLoadRecords("NDFileTIFF.template",  "P=BL17B:,R=Proc1:TIFF:,PORT=PROC1TIFF,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create a scatter plugin
NDScatterConfigure("SCATTER1", 20, 0, "PIL", 0, 0, 0)
dbLoadRecords("NDScatter.template",   "P=BL17B:,R=Scatter1:,  PORT=SCATTER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create a gather plugin with 8 ports
NDGatherConfigure("GATHER1", 20, 0, 8, 0, 0)
dbLoadRecords("NDGather.template",   "P=BL17B:,R=Gather1:, PORT=GATHER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
dbLoadRecords("NDGatherN.template",   "P=BL17B:,R=Gather1:, N=1, PORT=GATHER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
dbLoadRecords("NDGatherN.template",   "P=BL17B:,R=Gather1:, N=2, PORT=GATHER1,ADDR=1,TIMEOUT=1,NDARRAY_PORT=PIL")
dbLoadRecords("NDGatherN.template",   "P=BL17B:,R=Gather1:, N=3, PORT=GATHER1,ADDR=2,TIMEOUT=1,NDARRAY_PORT=PIL")
dbLoadRecords("NDGatherN.template",   "P=BL17B:,R=Gather1:, N=4, PORT=GATHER1,ADDR=3,TIMEOUT=1,NDARRAY_PORT=PIL")
dbLoadRecords("NDGatherN.template",   "P=BL17B:,R=Gather1:, N=5, PORT=GATHER1,ADDR=4,TIMEOUT=1,NDARRAY_PORT=PIL")
dbLoadRecords("NDGatherN.template",   "P=BL17B:,R=Gather1:, N=6, PORT=GATHER1,ADDR=5,TIMEOUT=1,NDARRAY_PORT=PIL")
dbLoadRecords("NDGatherN.template",   "P=BL17B:,R=Gather1:, N=7, PORT=GATHER1,ADDR=6,TIMEOUT=1,NDARRAY_PORT=PIL")
dbLoadRecords("NDGatherN.template",   "P=BL17B:,R=Gather1:, N=8, PORT=GATHER1,ADDR=7,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create 5 statistics plugins
NDStatsConfigure("STATS1", 20, 0, "PIL", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDStats.template",     "P=BL17B:,R=Stats1:,  PORT=STATS1,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1475,YSIZE=1679,NCHANS=2048,NDARRAY_PORT=PIL")
NDTimeSeriesConfigure("STATS1_TS", 20, 0, "STATS1", 1, 23)
dbLoadRecords("/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADCore/db/NDTimeSeries.template",  "P=BL17B:,R=Stats1:TS:, PORT=STATS1_TS,ADDR=0,TIMEOUT=1,NDARRAY_PORT=STATS1,NDARRAY_ADDR=1,NCHANS=2048,ENABLED=1")
NDStatsConfigure("STATS2", 20, 0, "ROI1",    0, 0, 0, 0, 0, 5)
dbLoadRecords("NDStats.template",     "P=BL17B:,R=Stats2:,  PORT=STATS2,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1475,YSIZE=1679,NCHANS=2048,NDARRAY_PORT=PIL")
NDTimeSeriesConfigure("STATS2_TS", 20, 0, "STATS2", 1, 23)
dbLoadRecords("/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADCore/db/NDTimeSeries.template",  "P=BL17B:,R=Stats2:TS:, PORT=STATS2_TS,ADDR=0,TIMEOUT=1,NDARRAY_PORT=STATS2,NDARRAY_ADDR=1,NCHANS=2048,ENABLED=1")
NDStatsConfigure("STATS3", 20, 0, "ROI2",    0, 0, 0, 0, 0, 5)
dbLoadRecords("NDStats.template",     "P=BL17B:,R=Stats3:,  PORT=STATS3,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1475,YSIZE=1679,NCHANS=2048,NDARRAY_PORT=PIL")
NDTimeSeriesConfigure("STATS3_TS", 20, 0, "STATS3", 1, 23)
dbLoadRecords("/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADCore/db/NDTimeSeries.template",  "P=BL17B:,R=Stats3:TS:, PORT=STATS3_TS,ADDR=0,TIMEOUT=1,NDARRAY_PORT=STATS3,NDARRAY_ADDR=1,NCHANS=2048,ENABLED=1")
NDStatsConfigure("STATS4", 20, 0, "ROI3",    0, 0, 0, 0, 0, 5)
dbLoadRecords("NDStats.template",     "P=BL17B:,R=Stats4:,  PORT=STATS4,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1475,YSIZE=1679,NCHANS=2048,NDARRAY_PORT=PIL")
NDTimeSeriesConfigure("STATS4_TS", 20, 0, "STATS4", 1, 23)
dbLoadRecords("/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADCore/db/NDTimeSeries.template",  "P=BL17B:,R=Stats4:TS:, PORT=STATS4_TS,ADDR=0,TIMEOUT=1,NDARRAY_PORT=STATS4,NDARRAY_ADDR=1,NCHANS=2048,ENABLED=1")
NDStatsConfigure("STATS5", 20, 0, "ROI4",    0, 0, 0, 0, 0, 5)
dbLoadRecords("NDStats.template",     "P=BL17B:,R=Stats5:,  PORT=STATS5,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1475,YSIZE=1679,NCHANS=2048,NDARRAY_PORT=PIL")
NDTimeSeriesConfigure("STATS5_TS", 20, 0, "STATS5", 1, 23)
dbLoadRecords("/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADCore/db/NDTimeSeries.template",  "P=BL17B:,R=Stats5:TS:, PORT=STATS5_TS,ADDR=0,TIMEOUT=1,NDARRAY_PORT=STATS5,NDARRAY_ADDR=1,NCHANS=2048,ENABLED=1")
# Create a transform plugin
NDTransformConfigure("TRANS1", 20, 0, "PIL", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDTransform.template", "P=BL17B:,R=Trans1:,  PORT=TRANS1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create an overlay plugin with 8 overlays
NDOverlayConfigure("OVER1", 20, 0, "PIL", 0, 8, 0, 0, 0, 0, 5)
dbLoadRecords("NDOverlay.template", "P=BL17B:,R=Over1:, PORT=OVER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
dbLoadRecords("NDOverlayN.template","P=BL17B:,R=Over1:1:,NAME=ROI1,   SHAPE=1,O=Over1:,XPOS=BL17B:ROI1:MinX_RBV,YPOS=BL17B:ROI1:MinY_RBV,XSIZE=BL17B:ROI1:SizeX_RBV,YSIZE=BL17B:ROI1:SizeY_RBV,PORT=OVER1,ADDR=0,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL17B:,R=Over1:2:,NAME=ROI2,   SHAPE=1,O=Over1:,XPOS=BL17B:ROI2:MinX_RBV,YPOS=BL17B:ROI2:MinY_RBV,XSIZE=BL17B:ROI2:SizeX_RBV,YSIZE=BL17B:ROI2:SizeY_RBV,PORT=OVER1,ADDR=1,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL17B:,R=Over1:3:,NAME=ROI3,   SHAPE=1,O=Over1:,XPOS=BL17B:ROI3:MinX_RBV,YPOS=BL17B:ROI3:MinY_RBV,XSIZE=BL17B:ROI3:SizeX_RBV,YSIZE=BL17B:ROI3:SizeY_RBV,PORT=OVER1,ADDR=2,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL17B:,R=Over1:4:,NAME=ROI4,   SHAPE=1,O=Over1:,XPOS=BL17B:ROI4:MinX_RBV,YPOS=BL17B:ROI4:MinY_RBV,XSIZE=BL17B:ROI4:SizeX_RBV,YSIZE=BL17B:ROI4:SizeY_RBV,PORT=OVER1,ADDR=3,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL17B:,R=Over1:5:,NAME=Cursor1,SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=4,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL17B:,R=Over1:6:,NAME=Cursor2,SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=5,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL17B:,R=Over1:7:,NAME=Box1,   SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=6,TIMEOUT=1")
dbLoadRecords("NDOverlayN.template","P=BL17B:,R=Over1:8:,NAME=Box2,   SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=7,TIMEOUT=1")
# Create 2 color conversion plugins
NDColorConvertConfigure("CC1", 20, 0, "PIL", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDColorConvert.template", "P=BL17B:,R=CC1:,  PORT=CC1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
NDColorConvertConfigure("CC2", 20, 0, "PIL", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDColorConvert.template", "P=BL17B:,R=CC2:,  PORT=CC2,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create a circular buffer plugin
NDCircularBuffConfigure("CB1", 20, 0, "PIL", 0, 500, 0)
dbLoadRecords("NDCircularBuff.template", "P=BL17B:,R=CB1:,  PORT=CB1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=PIL")
# Create an NDAttribute plugin with 8 attributes
NDAttrConfigure("ATTR1", 20, 0, "PIL", 0, 8, 0, 0, 0)
dbLoadRecords("NDAttribute.template",  "P=BL17B:,R=Attr1:,    PORT=ATTR1,ADDR=0,TIMEOUT=1,NCHANS=2048,NDARRAY_PORT=PIL")
dbLoadRecords("NDAttributeN.template", "P=BL17B:,R=Attr1:1:,  PORT=ATTR1,ADDR=0,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL17B:,R=Attr1:2:,  PORT=ATTR1,ADDR=1,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL17B:,R=Attr1:3:,  PORT=ATTR1,ADDR=2,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL17B:,R=Attr1:4:,  PORT=ATTR1,ADDR=3,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL17B:,R=Attr1:5:,  PORT=ATTR1,ADDR=4,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL17B:,R=Attr1:6:,  PORT=ATTR1,ADDR=5,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL17B:,R=Attr1:7:,  PORT=ATTR1,ADDR=6,TIMEOUT=1,NCHANS=2048")
dbLoadRecords("NDAttributeN.template", "P=BL17B:,R=Attr1:8:,  PORT=ATTR1,ADDR=7,TIMEOUT=1,NCHANS=2048")
# Create an FFT plugin
NDFFTConfigure("FFT1", 3, 0, "PIL", 0, 0, 0, 0, 0, 5)
dbLoadRecords("NDFFT.template", "P=BL17B:, R=FFT1:, PORT=FFT1, ADDR=0, TIMEOUT=1, NDARRAY_PORT=PIL, NAME=FFT1, NCHANS=1475")
set_requestfile_path("./")
set_requestfile_path("/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADCore/ADApp/Db")
set_requestfile_path("/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADCore/iocBoot")
set_savefile_path("./autosave")
set_pass0_restoreFile("auto_settings.sav")
set_pass1_restoreFile("auto_settings.sav")
save_restoreSet_status_prefix("BL17B:")
dbLoadRecords("/home/mx17b/epics/synApps/support/autosave-R5-9/asApp/Db/save_restoreStatus.db", "P=BL17B:")
# Optional: load NDPluginPva plugin
#NDPvaConfigure("PVA1", $(QSIZE), 0, "$(PORT)", 0, $(PREFIX)Pva1:Image, 0, 0, 0)
#dbLoadRecords("NDPva.template",  "P=$(PREFIX),R=Pva1:, PORT=PVA1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT)")
# Must start PVA server if this is enabled
#startPVAServer
# Optional: load NDPluginEdge plugin
#NDEdgeConfigure("EDGE1", $(QSIZE), 0, "$(PORT)", 0, 0, 0, 0)
#dbLoadRecords("$(ADPLUGINEDGE)/db/NDEdge.template",  "P=$(PREFIX),R=Edge1:, PORT=EDGE1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT)")
#set_requestfile_path("$(ADPLUGINEDGE)/edgeApp/Db")
# Optional: load scan records
#dbLoadRecords("$(SSCAN)/sscanApp/Db/scan.db", "P=$(PREFIX),MAXPTS1=2000,MAXPTS2=200,MAXPTS3=20,MAXPTS4=10,MAXPTSH=10")
#set_requestfile_path("$(SSCAN)/sscanApp/Db")
# Optional: load sseq record for acquisition sequence
#dbLoadRecords("$(CALC)/calcApp/Db/sseqRecord.db", "P=$(PREFIX), S=AcquireSequence")
#set_requestfile_path("$(CALC)/calcApp/Db")
# Optional: load devIocStats records (requires DEVIOCSTATS module)
#dbLoadRecords("$(DEVIOCSTATS)/db/iocAdminSoft.db", "IOC=$(PREFIX)")
# Optional: load alive record (requires ALIVE module)
#dbLoadRecords("$(ALIVE)/aliveApp/Db/alive.db", "P=$(PREFIX),RHOST=192.168.1.254")
set_requestfile_path("/home/mx17b/epics/synApps/support/areaDetector-R3-3-1/ADPilatus/iocs/pilatusIOC/../../pilatusApp/Db")
# Uncomment to enable asynTrace on the driver port
#asynSetTraceMask("$(PORT)",0,255)
iocInit()
Starting iocInit
############################################################################
## EPICS R3.15.9
## EPICS Base built Jan 27 2022
############################################################################
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) ***
reboot_restore: done with file 'auto_settings.sav'

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
# save things every thirty seconds
create_monitor_set("auto_settings.req", 30,"P=BL17B:")
save_restore:readReqFile: unable to open file commonPlugin_settings.req. Exiting.
2023/02/13 11:07:31.003 pilatusDetector::readBadPixelFile, cannot open file /home/det/p2_det/config/bad_pixel.txt
2023/02/13 11:07:31.042 pilatusDetector:readCamserver unexpected response from camserver, no OK, response=15 ERR Requested threshold (0.00 eV) is out of range

 



 


References:
PilatusDetector-Requested threshold (0.00 eV) is out of range 鲍康文 via Tech-talk

Navigate by Date:
Prev: PilatusDetector-Requested threshold (0.00 eV) is out of range 鲍康文 via Tech-talk
Next: Archiver appliance sampling buffer overflows after migration from Version 2018 to Version 1.1.0 Wang, Lin 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: PilatusDetector-Requested threshold (0.00 eV) is out of range 鲍康文 via Tech-talk
Next: Archiver appliance sampling buffer overflows after migration from Version 2018 to Version 1.1.0 Wang, Lin 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, 13 Feb 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·