From 1b9b983ab2039e129d5e28bf3a1d69d7e8a1d744 Mon Sep 17 00:00:00 2001 From: x12sa Date: Wed, 25 Mar 2026 11:47:26 +0100 Subject: [PATCH] wip optics config for energy device --- csaxs_bec/device_configs/bl_optics_hutch.yaml | 167 ++++++++++-------- 1 file changed, 91 insertions(+), 76 deletions(-) diff --git a/csaxs_bec/device_configs/bl_optics_hutch.yaml b/csaxs_bec/device_configs/bl_optics_hutch.yaml index 5dcf9f9..98f39eb 100644 --- a/csaxs_bec/device_configs/bl_optics_hutch.yaml +++ b/csaxs_bec/device_configs/bl_optics_hutch.yaml @@ -68,91 +68,106 @@ ccmx: - cSAXS - optics +# ccm_energy: +# readoutPriority: baseline +# deviceClass: ophyd_devices.devices.simple_positioner.PSIPositionerBase +# prefix: "X12SA-OP-CCM1:" +# override_suffixes: +# user_readback: "ENERGY-GET" +# user_setpoint: "ENERGY-SET" +# velocity: "ROTY:VELO" +# deviceTags: +# - user motors +# enabled: true +# readOnly: false + ########################################################################## ######################## SMARACT STAGES ################################## ########################################################################## -xbpm2x: - description: X-ray beam position monitor 1 in OPbox - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: A - host: x12sa-eb-smaract-mcs-03.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: 1 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - connectionTimeout: 20 - userParameter: - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 0 +# xbpm2x: +# description: X-ray beam position monitor 1 in OPbox +# deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor +# deviceConfig: +# axis_Id: A +# host: x12sa-eb-smaract-mcs-03.psi.ch +# limits: +# - -200 +# - 200 +# port: 5000 +# sign: 1 +# enabled: true +# onFailure: buffer +# readOnly: false +# readoutPriority: baseline +# connectionTimeout: 20 +# userParameter: +# # bl_smar_stage to use csaxs reference method. assign number according to axis channel +# bl_smar_stage: 0 -xbpm2y: - description: X-ray beam position monitor 1 in OPbox - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: B - host: x12sa-eb-smaract-mcs-03.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: 1 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - connectionTimeout: 20 - userParameter: - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 1 +# xbpm2y: +# description: X-ray beam position monitor 1 in OPbox +# deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor +# deviceConfig: +# axis_Id: B +# host: x12sa-eb-smaract-mcs-03.psi.ch +# limits: +# - -200 +# - 200 +# port: 5000 +# sign: 1 +# enabled: true +# onFailure: buffer +# readOnly: false +# readoutPriority: baseline +# connectionTimeout: 20 +# userParameter: +# # bl_smar_stage to use csaxs reference method. assign number according to axis channel +# bl_smar_stage: 1 + +# cu_foilx: +# description: Cu foil in OPbox +# deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor +# deviceConfig: +# axis_Id: C +# host: x12sa-eb-smaract-mcs-03.psi.ch +# limits: +# - -200 +# - 200 +# port: 5000 +# sign: 1 +# enabled: true +# onFailure: buffer +# readOnly: false +# readoutPriority: baseline +# connectionTimeout: 20 +# userParameter: +# # bl_smar_stage to use csaxs reference method. assign number according to axis channel +# bl_smar_stage: 2 + +# scinx: +# description: scintillator in OPbox +# deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor +# deviceConfig: +# axis_Id: D +# host: x12sa-eb-smaract-mcs-03.psi.ch +# limits: +# - -200 +# - 200 +# port: 5000 +# sign: 1 +# enabled: true +# onFailure: buffer +# readOnly: false +# readoutPriority: baseline +# connectionTimeout: 20 +# userParameter: +# # bl_smar_stage to use csaxs reference method. assign number according to axis channel +# bl_smar_stage: 3 -cu_foilx: - description: Cu foil in OPbox - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: C - host: x12sa-eb-smaract-mcs-03.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: 1 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - connectionTimeout: 20 - userParameter: - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 2 -scinx: - description: scintillator in OPbox - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: D - host: x12sa-eb-smaract-mcs-03.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: 1 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - connectionTimeout: 20 - userParameter: - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 3 # dmm1_trx_readback_example: # This is the same template as for i.e. bpm4i