From 05f8f9cef3ed15ef9fc3a48cbf22bd97daacdf32 Mon Sep 17 00:00:00 2001
From: Giuseppe Mercurio <giuseppe.mercurio@xfel.eu>
Date: Tue, 27 Jul 2021 17:15:29 +0200
Subject: [PATCH] sam-z-motor

---
 src/toolbox_scs/constants.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/toolbox_scs/constants.py b/src/toolbox_scs/constants.py
index 6b793e8..f645d7e 100644
--- a/src/toolbox_scs/constants.py
+++ b/src/toolbox_scs/constants.py
@@ -360,9 +360,12 @@ mnemonics = {
     "scannerY_enc": ({'source': 'SCS_CDIFFT_SAM/ENC/SCANNERY',
                       'key': 'value.value',
                       'dim': None},),
-    "SAM-Z": ({'source': 'SCS_CDIFFT_MOV/ENC/SAM_Z',
-               'key': 'value.value',
+    "SAM-Z": ({'source': 'SCS_CDIFFT_MOV/MOTOR/SAM_Z',
+               'key': 'actualPosition.value',
                'dim': None},),
+    "SAM-Z-MOT": ({'source': 'SCS_CDIFFT_MOV/ENC/SAM_Z',
+               'key': 'value.value',
+               'dim': None},),    
     "magnet": ({'source': 'SCS_CDIFFT_MAG/ASENS/PSU_CMON',
                 'key': 'value.value',
                 'dim': None},
@@ -380,7 +383,7 @@ mnemonics = {
                      'dim': ['llc2_y', 'llc2_x']},),
 
     # PI-MTE3 CCD camera
-    "MTE3": ({'source': 'SCS_CDIFFT_MTE3/CAM/CAMERA:daqOutput',
+    "MTE3": ({'source': 'SCS_CDIDET_MTE3/CAM/CAMERA:daqOutput',
               'key': 'data.image.pixels',
               'dim': ['x', 'y']},),
     
-- 
GitLab