From 6d929c27e008f35536ce598e2f2eb10d5dbac40b Mon Sep 17 00:00:00 2001
From: Martin Teichmann <martin.teichmann@xfel.eu>
Date: Wed, 23 Feb 2022 17:09:41 +0100
Subject: [PATCH] add mnemonics for the HRIXS delay positions

---
 src/toolbox_scs/constants.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/toolbox_scs/constants.py b/src/toolbox_scs/constants.py
index 8c70dd5..d80a1c2 100644
--- a/src/toolbox_scs/constants.py
+++ b/src/toolbox_scs/constants.py
@@ -69,6 +69,12 @@ mnemonics = {
     "hRIXS_det": ({'source': 'SCS_HRIXS_DET/CAM/CAMERA:daqOutput',
                    'key': 'data.image.pixels',
                    'dim': ['x', 'y']},),
+    "hRIXS_delay": ({'source': 'SCS_HRIXS_DET/MDL/CAMERA_SHUTTER',
+                     'key': 'currentPosition.value',
+                     'dim': None},),
+    "hRIXS_index": ({'source': 'SCS_HRIXS_DET/MDL/CAMERA_SHUTTER',
+                     'key': 'currentIndex.value',
+                     'dim': None},),
     "chem_X": ({'source': 'SCS_CHEM_JET/MOTOR/MANA_X',
                 'key': 'actualPosition.value',
                 'dim': None},),
@@ -325,6 +331,10 @@ mnemonics = {
                      'key': 'result.value',
                      'dim': None},),
 
+    "Delay": ({'source': 'SCS_ILH_LAS/MDL/OPTICALDELAY_LT3',
+               'key': 'actualPosition.value',
+               'dim': None},),
+
     # AFS LASER
     "AFS_PhaseShifter": ({'source': 'SCS_ILH_LAS/PHASESHIFTER/DOOCS',
                           'key': 'actualPosition.value',
-- 
GitLab