From e2ff34f47604c2b5d2b6ed0afbdbefde1f88e4c6 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Tue, 31 Aug 2021 19:28:24 +0200 Subject: [PATCH] disable the "Take Pedestal!" button while the procedure is out of data --- slic/gui/daqpanels/config.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/slic/gui/daqpanels/config.py b/slic/gui/daqpanels/config.py index 66a039b21..98a61b1ec 100644 --- a/slic/gui/daqpanels/config.py +++ b/slic/gui/daqpanels/config.py @@ -50,6 +50,11 @@ class ConfigPanel(wx.Panel): if not chans_det: btn_take_pedestal.Disable() + #TODO: + # the slic pedestal taking procedure is currently out of date with what the DAQ expects + # disable button for now + btn_take_pedestal.Disable() + le_instrument = LabeledEntry(self, label="Instrument", value=instrument) le_pgroup = LabeledEntry(self, label="pgroup", value=pgroup)