From 881bc9e7a3e99e0e07225eba035772f062dc992f Mon Sep 17 00:00:00 2001 From: gac-x01da Date: Fri, 20 Jun 2025 09:14:10 +0200 Subject: [PATCH] refactor(mo1-bragg-device): add Pvs for mono --- debye_bec/devices/mo1_bragg/mo1_bragg_devices.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debye_bec/devices/mo1_bragg/mo1_bragg_devices.py b/debye_bec/devices/mo1_bragg/mo1_bragg_devices.py index 37cd9ce..7e223e3 100644 --- a/debye_bec/devices/mo1_bragg/mo1_bragg_devices.py +++ b/debye_bec/devices/mo1_bragg/mo1_bragg_devices.py @@ -82,10 +82,19 @@ class Mo1BraggCrystal(Device): d_spacing_si111 = Cpt(EpicsSignalWithRBV, suffix="d_spacing_si111", kind="config") d_spacing_si311 = Cpt(EpicsSignalWithRBV, suffix="d_spacing_si311", kind="config") set_offset = Cpt(EpicsSignal, suffix="set_offset", kind="config", put_complete=True) + current_d_spacing = Cpt( + EpicsSignalRO, suffix="current_d_spacing_RBV", kind="normal", auto_monitor=True + ) + current_offset = Cpt( + EpicsSignalRO, suffix="current_offset_RBV", kind="normal", auto_monitor=True + ) current_xtal = Cpt( EpicsSignalRO, suffix="current_xtal_ENUM_RBV", kind="normal", auto_monitor=True ) + current_xtal_string = Cpt( + EpicsSignalRO, suffix="current_xtal_ENUM_RBV", kind="normal", auto_monitor=True, string=True + ) class Mo1BraggScanSettings(Device): """Mo1 Bragg PVs to set the scan setttings"""