From b18ef06a568ce33cc33096c571cde1730830ce66 Mon Sep 17 00:00:00 2001 From: appel_c Date: Wed, 3 Sep 2025 15:23:26 +0200 Subject: [PATCH] w --- debye_bec/devices/pilatus/pilatus.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/debye_bec/devices/pilatus/pilatus.py b/debye_bec/devices/pilatus/pilatus.py index 2609b7c..72c25a4 100644 --- a/debye_bec/devices/pilatus/pilatus.py +++ b/debye_bec/devices/pilatus/pilatus.py @@ -94,25 +94,29 @@ class Pilatus(PSIDeviceBase, ADBase): hdf = Cpt(HDF5Plugin, "HDF1:") trigger_shot = Cpt( EpicsSignal, - "X01DA-OP-MO1:BRAGG:xrd_trig_req", + read_pv="X01DA-OP-MO1:BRAGG:xrd_trig_req", + write_pv="X01DA-OP-MO1:BRAGG:xrd_trig_req", kind=Kind.omitted, doc="Trigger PV from MO1 Bragg", ) trigger_source = Cpt( EpicsSignal, - "X01DA-OP-MO1:BRAGG:xrd_trig_src_ENUM", + read_pv="X01DA-OP-MO1:BRAGG:xrd_trig_src_ENUM_RBV", + write_pv="X01DA-OP-MO1:BRAGG:xrd_trig_src_ENUM", kind=Kind.omitted, doc="Trigger Source; PV, 0 : EPICS, 1 : INPOS", ) trigger_mode = Cpt( EpicsSignal, - "X01DA-OP-MO1:BRAGG:xrd_trig_mode_ENUM", + read_pv="X01DA-OP-MO1:BRAGG:xrd_trig_mode_ENUM_RBV", + write_pv="X01DA-OP-MO1:BRAGG:xrd_trig_mode_ENUM", kind=Kind.omitted, doc="Trigger Mode; 0 : PULSE, 1 : CONDITION", ) trigger_pulse_length = Cpt( EpicsSignal, - "X01DA-OP-MO1:BRAGG:xrd_trig_len", + read_pv="X01DA-OP-MO1:BRAGG:xrd_trig_len_RBV", + write_pv="X01DA-OP-MO1:BRAGG:xrd_trig_len", kind=Kind.omitted, doc="Trigger Pulse Length in seconds", )