From c914e0416b297be245b7123de78c39c05b726a92 Mon Sep 17 00:00:00 2001 From: thijs snijder <snijder@astron.nl> Date: Fri, 23 Sep 2022 11:11:52 +0200 Subject: [PATCH] removed exception --- tangostationcontrol/tangostationcontrol/devices/ccd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tangostationcontrol/tangostationcontrol/devices/ccd.py b/tangostationcontrol/tangostationcontrol/devices/ccd.py index 56978e75a..dbeaca59d 100644 --- a/tangostationcontrol/tangostationcontrol/devices/ccd.py +++ b/tangostationcontrol/tangostationcontrol/devices/ccd.py @@ -126,7 +126,7 @@ class CCD(opcua_device): if not self.read_attribute("CCD_PLL_locked_R"): if self.read_attribute("CCDTR_I2C_error_R"): - raise Exception("I2C is not working. Maybe power cycle subrack to restart CLK board and translator?") + raise Exception("I2C is not working.") else: logger.warning("CCD not locked, this may indicate the clock has not yet warmed up") @@ -136,6 +136,7 @@ class CCD(opcua_device): # Turn off the CCD self.CCD_off() self.wait_attribute("CCDTR_translator_busy_R", False, self.CCD_On_Off_timeout) + logger.debug("Put CCD in off state") # -------- # Commands -- GitLab