From dc32c38484c0673d8182bdfb84565d44dea4bfa9 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Fri, 29 May 2026 13:52:49 -0400 Subject: [PATCH] FIX: adjust default behavior of cam - remove the image plugin (some IOCs do not have it and we should not be pulling on this from Python anyway) - adjust the default plugin graph we enforce (stats 1-4 should look at roi 1-4) --- src/cditools/screens.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/cditools/screens.py b/src/cditools/screens.py index e99aacb..7fcd69b 100644 --- a/src/cditools/screens.py +++ b/src/cditools/screens.py @@ -51,7 +51,6 @@ def set_from_epics(self): class ProsilicaCamBase(ProsilicaDetector): wait_for_plugins = Cpt(EpicsSignal, "WaitForPlugins", string=True, kind="hinted") cam = Cpt(ProsilicaDetectorCam, "cam1:") - image = Cpt(ImagePlugin, "image1:") stats1 = Cpt(StatsPlugin, "Stats1:") stats2 = Cpt(StatsPlugin, "Stats2:") stats3 = Cpt(StatsPlugin, "Stats3:") @@ -92,11 +91,10 @@ class StandardProsilicaCam(SingleTrigger, ProsilicaCamBase): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._default_plugin_graph = { - self.image: self.cam, - self.stats1: self.cam, - self.stats2: self.cam, - self.stats3: self.cam, - self.stats4: self.cam, + self.stats1: self.roi1, + self.stats2: self.roi2, + self.stats3: self.roi3, + self.stats4: self.roi4, self.stats5: self.cam, self.trans1: self.cam, self.roi1: self.cam,