Experimental Physics and
| |||||||||||||||
|
Hello... I will change Detector ( Q315r to Pilatus)------------------------------------------------------------------------------------------------ ################################## 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 ############################################################################ -------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------- 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") ------------------------------------------------------------------------------------------------------------------------------------------------------------------- Thanks for hearing Best Regards
| ||||||||||||||
ANJ, 15 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |