From 9ea249fff7d82a76f1aa7263b03adde1ecdfc631 Mon Sep 17 00:00:00 2001 From: gac-x06da Date: Thu, 6 Feb 2025 12:15:24 +0100 Subject: [PATCH] Fix from Klaus --- pxiii_bec/devices/SamCamDetector.py | 2 +- pxiii_bec/scripts/scanwrappers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pxiii_bec/devices/SamCamDetector.py b/pxiii_bec/devices/SamCamDetector.py index 23b914e..0a99956 100644 --- a/pxiii_bec/devices/SamCamDetector.py +++ b/pxiii_bec/devices/SamCamDetector.py @@ -46,4 +46,4 @@ class SamCamDetector(PSIDetectorBase): custom_prepare_cls = SamCamSetup cam = ADComponent(GenICam, "cam1:") - image = ADComponent(ImagePlugin_V35, "image1:") + # image = ADComponent(ImagePlugin_V35, "image1:") diff --git a/pxiii_bec/scripts/scanwrappers.py b/pxiii_bec/scripts/scanwrappers.py index 58b4796..155edca 100644 --- a/pxiii_bec/scripts/scanwrappers.py +++ b/pxiii_bec/scripts/scanwrappers.py @@ -29,7 +29,7 @@ def ascan( # # GUI setup # # Get or create gui - gui = BECGuiClient() + gui = bec.gui print(gui.windows) # Use existing main window # window = gui.windows['main'].widget