Hello everyone,
Recently I use areaDetector to control pilatus3 detector, but I am not sure if the parameters in st.cmd were set correctly. In st.cmd scripts,
**question1: epicsEnvSet("QSIZE", "20")
what does QSIZE mean? What number should I set to it or just using default 20?
**question2: epicsEnvSet("NCHANS", "2048")
what does NCHANS mean? What number should I set to it or just using default 2048?
in areaDetector.adl main screen, I also have a problem:
**question3: when I exposure single image, namely the parameters [# Images] 1, [Auto increment] Yes, I press [sta rt] the [Next file #] (shown in blue color beside the box) is auto incremented which is as I expected; But if I set [#Images] 10 and [Auto increment] Yes to exposure multy images, after I press [start], the numbers followed the file name in name of image files are correct (such as from 000 to 009), but the [Next file#] (shown in blue color beside the box) is auto incremented only once (such as from 000 to 001, but not incremented anymore). Is this situation abnormal ?
**Some parameters related to Pilatus3 is as below
number of modules 3x8=24
pixel size 172x172 μm^2
format 1475x1679=2476525 pixels
Dynamic range 20 Bits (0: 1048573)
Counter overflow state 1048573
readout time 0.95 ms
Framming rate 250 Hz
(camserver is in a computer with IP 10.10.10.100, areaDetector is in another computer with IP 10.10.10.10.)
**The contents in st.cmd are listed below
----------------------------------------------------------------------------------------------------------------
< envPaths
errlogInit(20000)
dbLoadDatabase("$(TOP)/dbd/pilatusDetectorApp.dbd")
pilatusDetectorApp_registerRecordDeviceDriver(pdbbase)
epicsEnvSet("PREFIX", "13PIL1:")
epicsEnvSet("PORT", "PIL")
epicsEnvSet("QSIZE", "20")
epicsEnvSet("XSIZE", "1475")
epicsEnvSet("YSIZE", "1679")
epicsEnvSet("NCHANS", "2048")
###
# Create the asyn port to talk to the Pilatus on port 41234.
drvAsynIPPortConfigure("camserver","10.10.10.100:41234")
# Set the input and output terminators.
asynOctetSetInputEos("camserver", 0, "\030")
asynOctetSetOutputEos("camserver", 0, "\n")
pilatusDetectorConfig("$(PORT)", "camserver", $(XSIZE), $(YSIZE), 0, 0)
dbLoadRecords("$(ADCORE)/db/ADBase.template", "P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1")
dbLoadRecords("$(ADCORE)/db/NDFile.template", "P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1")
dbLoadRecords("$(ADPILATUS)/db/pilatus.template","P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1,CAMSERVER_PORT=camserver")
# Create a standard arrays plugin
NDStdArraysConfigure("Image1", 5, 0, "$(PORT)", 0, 0)
dbLoadRecords("$(ADCORE)/db/NDPluginBase.template","P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT),NDARRAY_ADDR=0")
dbLoadRecords("$(ADCORE)/db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int32,FTVL=LONG,NELEMENTS=2476525")
# Load all other plugins using commonPlugins.cmd
< $(ADCORE)/iocBoot/commonPlugins.cmd
set_requestfile_path("$(ADPILATUS)/pilatusApp/Db")
#asynSetTraceMask("$(PORT)",0,255)
#asynSetTraceMask("$(PORT)",0,3)
iocInit()
# save things every thirty seconds
create_monitor_set("auto_settings.req", 30,"P=$(PREFIX)")
---------------------------------------------------------------------------------------------------------------
I hope someone could help me. Thank you!
GongYu
- Replies:
- RE: Help-areaDetector used for Pilatus Mark Rivers
- Navigate by Date:
- Prev:
New releases of areaDetector modules ADPixirad, ADPointGrey, ADProsilica, ADPvCam Mark Rivers
- Next:
RE: Help-areaDetector used for Pilatus Mark Rivers
- 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
2023
2024
- Navigate by Thread:
- Prev:
New releases of areaDetector modules ADPixirad, ADPointGrey, ADProsilica, ADPvCam Mark Rivers
- Next:
RE: Help-areaDetector used for Pilatus Mark Rivers
- 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
2023
2024
|