From 38a325b12f2ca5d4c51f1211ff2bef14102d91fc Mon Sep 17 00:00:00 2001 From: x12sa Date: Fri, 16 Jan 2026 14:15:20 +0100 Subject: [PATCH] final cleanup config files smaract --- csaxs_bec/device_configs/bl_optics_hutch.yaml | 22 +- csaxs_bec/device_configs/smaract_test.yaml | 510 ------------------ 2 files changed, 14 insertions(+), 518 deletions(-) delete mode 100644 csaxs_bec/device_configs/smaract_test.yaml diff --git a/csaxs_bec/device_configs/bl_optics_hutch.yaml b/csaxs_bec/device_configs/bl_optics_hutch.yaml index 8577ea8..7ce2815 100644 --- a/csaxs_bec/device_configs/bl_optics_hutch.yaml +++ b/csaxs_bec/device_configs/bl_optics_hutch.yaml @@ -69,6 +69,7 @@ ccmx: - optics + ########################################################################## ######################## SMARACT STAGES ################################## ########################################################################## @@ -84,12 +85,13 @@ xbpm2x: - 200 port: 5000 sign: 1 - # precision: 3 - # tolerance: 0.005 enabled: true onFailure: buffer readOnly: false readoutPriority: baseline + 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 @@ -102,12 +104,13 @@ xbpm2y: - 200 port: 5000 sign: 1 - # precision: 3 - # tolerance: 0.005 enabled: true onFailure: buffer readOnly: false readoutPriority: baseline + 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 @@ -120,12 +123,13 @@ cu_foilx: - 200 port: 5000 sign: 1 - # precision: 3 - # tolerance: 0.005 enabled: true onFailure: buffer readOnly: false readoutPriority: baseline + userParameter: + # bl_smar_stage to use csaxs reference method. assign number according to axis channel + bl_smar_stage: 2 scinx: description: scintillator in OPbox @@ -138,12 +142,14 @@ scinx: - 200 port: 5000 sign: 1 - # precision: 3 - # tolerance: 0.005 enabled: true onFailure: buffer readOnly: false readoutPriority: baseline + 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 # description: 'This is an example of a read-only Epics signal' diff --git a/csaxs_bec/device_configs/smaract_test.yaml b/csaxs_bec/device_configs/smaract_test.yaml deleted file mode 100644 index 02f0383..0000000 --- a/csaxs_bec/device_configs/smaract_test.yaml +++ /dev/null @@ -1,510 +0,0 @@ - -################## XBOX 1 ES ##################### -xbpm3x: - description: X-ray beam position x monitor 1 in ESbox1 - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: A - host: x12sa-eb-smaract-mcs-04.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -22.5 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 0 - -xbpm3y: - description: X-ray beam position y monitor 1 in ESbox1 - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: B - host: x12sa-eb-smaract-mcs-04.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: 1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -2 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 1 - -sl3trxi: - description: ESbox1 slit 3 inner blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: C - host: x12sa-eb-smaract-mcs-04.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -5.5 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 2 - -sl3trxo: - description: ESbox1 slit 3 outer blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: D - host: x12sa-eb-smaract-mcs-04.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: 6 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 3 - -sl3trxb: - description: ESbox1 slit 3 bottom blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: E - host: x12sa-eb-smaract-mcs-04.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: 1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -5.8 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 4 - -sl3trxt: - description: ESbox1 slit 3 top blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: F - host: x12sa-eb-smaract-mcs-04.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: 1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: 5.5 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 5 - -fast_shutter_n1_x: - description: ESbox1 New fast shutter 1 x movment - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: H - host: x12sa-eb-smaract-mcs-01.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -7 - in: 0 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 7 - -fast_shutter_o1_x: - description: ESbox1 Old fast shutter 1 x movment - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: G - host: x12sa-eb-smaract-mcs-01.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -15.8 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 6 - -fast_shutter_o2_x: - description: ESbox1 Old fast shutter 2 x movment - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: F - host: x12sa-eb-smaract-mcs-01.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -15.5 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 5 - -filter_array_1_x: - description: ESbox1 Filter Array 1 x movment - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: B - host: x12sa-eb-smaract-mcs-01.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: 25 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 1 - -filter_array_2_x: - description: ESbox1 Filter Array 2 x movment - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: C - host: x12sa-eb-smaract-mcs-01.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: 25.5 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 2 - -filter_array_3_x: - description: ESbox1 Filter Array 3 x movment - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: D - host: x12sa-eb-smaract-mcs-01.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: 25.8 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 3 - -filter_array_4_x: - description: ESbox1 Filter Array 4 x movment - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: E - host: x12sa-eb-smaract-mcs-01.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: 25 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 4 - -sl4trxi: - description: ESbox1 slit 4 inner blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: G - host: x12sa-eb-smaract-mcs-04.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -5.5 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 6 - -sl4trxo: - description: ESbox1 slit 4 outer blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: H - host: x12sa-eb-smaract-mcs-04.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: 6 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 7 - -sl4trxb: - description: ESbox1 slit 4 bottom blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: I - host: x12sa-eb-smaract-mcs-04.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: 1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -5.8 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 8 - -sl4trxt: - description: ESbox1 slit 4 top blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: A - host: x12sa-eb-smaract-mcs-01.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: 1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: 5.5 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 0 - -################## XBOX 2 ES ##################### - -sl5trxi: - description: ESbox2 slit 5 inner blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: C - host: x12sa-eb-smaract-mcs-02.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -6 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 2 - -sl5trxo: - description: ESbox2 slit 5 outer blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: D - host: x12sa-eb-smaract-mcs-02.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: 5.5 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 3 - -sl5trxb: - description: ESbox2 slit 5 bottom blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: E - host: x12sa-eb-smaract-mcs-02.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -5.5 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 4 - -sl5trxt: - description: ESbox1 slit 5 top blade movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: F - host: x12sa-eb-smaract-mcs-02.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: 6 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 5 - -xbimtrx: - description: ESbox2 beam intensity monitor x movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: A - host: x12sa-eb-smaract-mcs-02.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: -14.7 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 0 - -xbimtry: - description: ESbox2 beam intensity monitor y movement - deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor - deviceConfig: - axis_Id: B - host: x12sa-eb-smaract-mcs-02.psi.ch - limits: - - -200 - - 200 - port: 5000 - sign: -1 - # precision: 3 - # tolerance: 0.005 - enabled: true - onFailure: buffer - readOnly: false - readoutPriority: baseline - userParameter: - init_position: 0 - # bl_smar_stage to use csaxs reference method. assign number according to axis channel - bl_smar_stage: 1