This commit is contained in:
2023-12-06 10:58:37 +01:00
parent ff161e0297
commit cbc3bfbfe2
53 changed files with 5331 additions and 82 deletions

View File

@@ -1,7 +1,6 @@
###################################################################################################
# Deployment specific global definitions - executed after startup.py
###################################################################################################
import ch.psi.fda.ProcessorFDA as ProcessorFDA
import ch.psi.pshell.crlogic.CrlogicPositioner as CrlogicPositioner
import ch.psi.pshell.crlogic.CrlogicSensor as CrlogicSensor
@@ -11,12 +10,8 @@ import ch.psi.pshell.epics.ChannelInteger as ChannelInteger
import ch.psi.pshell.epics.ChannelIntegerArray as ChannelIntegerArray
crlogic_config = {}
crlogic_config["class"] = "ch.psi.pshell.crlogic.CrlogicScan"
#crlogic_config["prefix"] = "X10DA-ES1-CRL"
#crlogic_config["ioc"] = "X10DA-VME-ES1"
#crlogic_config["integrationTime"] = 0.2
#crlogic_config["additionalBacklash"] = 0.01
CRLOGIC_IOC = "X05LA-VME-ES2.psi.ch"
CRLOGIC_PREFIX = "X05LA-ES2-CRL"
run("CPython/wrapper")
@@ -24,7 +19,10 @@ run("CPython/wrapper")
DETECTORS={ \
'Eiger4m/scan': {"path":"X05LA-ES1-EIGER1:cam1:FilePath", "enabled": False}, \
'FalconX/scan': {"path":"X05LA-SITORO:HDF1:FilePath", "enabled": False}, \
'XRayEye': {"path":"X05LA-ES2-GIGE01:TIFF1:FilePath", "enabled": False} \
'Eiger1m/scan': {"path":"X05LA-ES1-SD1:cam1:FilePath", "enabled": False}, \
#'Mythen3/scan': {"path":"X05LA-ES-MYTHEN3:cam1:FilePath", "enabled": False}, \
'FFcamera/scan': {"path":"X05LA-ES2-GIGEFF:TIFF1:FilePath", "enabled": False}, \
'XRayEye/scan': {"path":"X05LA-ES2-GIGE01:TIFF1:FilePath", "enabled": False} \
}
@@ -42,16 +40,6 @@ def caput_str(ch, val):
ret = to_array(ret, 'b')
caput(ch, ret)
###################################################################################################
# FDA utilities
###################################################################################################
def run_fda(file_name, arguments={}):
"""
Run FDA loop
"""
ProcessorFDA().execute(file_name,arguments)
###################################################################################################
# System callbaks