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  <20162017  2018  2019  2020  2021  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Change Detector ( Q315 to Pilatus)
From: mujin park <[email protected]>
To: [email protected]
Date: Mon, 1 Feb 2016 12:10:46 +0900
Hello...


I will change Detector ( Q315r to Pilatus)

I want to see the steps before I start


1. st.cmd will be changed  (now -> to be)

    now
------------------------------------------------------------------------------------------------
################################## ADSC Detector ######################################################################
adscConfig("ADSC1","Q315r")
dbLoadRecords("db/ADBase.template","P=$(PREFIX):,R=ADSC:,PORT=ADSC1,ADDR=0,TIMEOUT=1")
dbLoadRecords("db/adsc.template",  "P=$(PREFIX):,R=ADSC:,PORT=ADSC1,ADDR=0,TIMEOUT=1")
dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDFile.template","P=$(PREFIX):,R=ADSC:,PORT=ADSC1,ADDR=0,TIMEOUT=1")
################################# ADSC END ############################################################################
--------------------------------------------------------------------------------------------------
   to be
---------------------------------------------------------------------------------------------------
epicsEnvSet("PREFIX", "BL5C_:")
epicsEnvSet("PORT",   "PIL")
epicsEnvSet("QSIZE",  "20")
epicsEnvSet("XSIZE",  "487")
epicsEnvSet("YSIZE",  "195")
epicsEnvSet("NCHANS", "2048")
epicsEnvSet("CAMSERVER", "10.0.1.100")

###
# Create the asyn port to talk to the Pilatus on port 41234.
drvAsynIPPortConfigure("camserver","$(CAMSERVER):41234")
# Set the input and output terminators.
asynOctetSetInputEos("camserver", 0, "\030")
asynOctetSetOutputEos("camserver", 0, "\n")

#drvAsynIPPortConfigure("camserver","10.0.1.100:41234<http://10.0.1.100:41234><http://10.0.1.100:41234>")
asynSetTraceIOMask("camserver", 0, 2)
asynSetTraceMark("camserver",0,9)

pilatusDetectorConfig("$(PORT)", "camserver", $(XSIZE), $(YSIZE), 50, 200000000)
dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/ADBase.template", "P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1")
dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDFile.template", "P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1")
dbLoadRecords("$(AREA_DETECTOR)/ADApp/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, -1)
dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDPluginBase.template","P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT),NDARRAY_ADDR=0")
dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int32,FTVL=LONG,NELEMENTS=94965")
-------------------------------------------------------------------------------------------------------------------------------------------------------------------

2. now bl5cApp was maded.(Q513r) 

    i think bl5cApp must be remake. is it allright?

    the pilatus related functions(pilatusDetectorConfig) must add in src ....

    how can i add in  the pilatus related functions?

    Must the src code in bl5cApp be changed?

Thanks for hearing

Best Regards

 



Replies:
RE: Change Detector ( Q315 to Pilatus) Mark Rivers

Navigate by Date:
Prev: Re: set-user-id root and EPICS 3.15 J. Lewis Muir
Next: RE: Change Detector ( Q315 to 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  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: help with SEQ record Mark Rivers
Next: RE: Change Detector ( Q315 to 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  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·