diff --git a/tangostationcontrol/tangostationcontrol/devices/ccd.py b/tangostationcontrol/tangostationcontrol/devices/ccd.py index 56978e75a2d4b961e57a05ec3a49adf3f99e5054..dbeaca59d525decfbf7d96bf224930c607a04b48 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