diff --git a/iocBoot/iocAndor/st.cmd b/iocBoot/iocAndor/st.cmd index d8e602a..0664265 100755 --- a/iocBoot/iocAndor/st.cmd +++ b/iocBoot/iocAndor/st.cmd @@ -11,13 +11,15 @@ epicsEnvSet("XSIZE", "2048") epicsEnvSet("YSIZE", "2048") epicsEnvSet("NCHANS", "2048") -andorCCDConfig("$(PORT)", -1, -1, "/usr/local/etc/andor/", 0, 100000) +# andorCCDConfig(const char *portName, int maxBuffers, size_t maxMemory, +# const char *installPath, int priority, int stackSize) +andorCCDConfig("$(PORT)", 0, 0, "/usr/local/etc/andor/", 0, 100000) 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/andorCCD.template", "P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1") # Create a standard arrays plugin -NDStdArraysConfigure("Image1", 5, 0, "$(PORT)", 0, -1) +NDStdArraysConfigure("Image1", 5, 0, "$(PORT)", 0, 0) dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDPluginBase.template","P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT),NDARRAY_ADDR=0") # Make NELEMENTS in the following be a little bigger than 2048*2048 # Use the following command for 32-bit images. This is needed for 32-bit detectors or for 16-bit detectors in acccumulate mode if it would overflow 16 bits