diff --git a/iocBoot/iocAndor/st.cmd b/iocBoot/iocAndor/st.cmd index 71c6d44..6eccf7e 100755 --- a/iocBoot/iocAndor/st.cmd +++ b/iocBoot/iocAndor/st.cmd @@ -20,7 +20,10 @@ dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/andorCCD.template", "P=$(PREFIX),R=ca 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") # Make NELEMENTS in the following be a little bigger than 2048*2048 -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int32,FTVL=LONG,NELEMENTS=4200000") +# 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 +#dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int32,FTVL=LONG,NELEMENTS=4200000") +# Use the following command for 16-bit images. This can be used for 16-bit detector as long as accumulate mode would not result in 16-bit overflow +dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int16,FTVL=SHORT,NELEMENTS=4200000") # Load all other plugins using commonPlugins.cmd < ../commonPlugins.cmd