Skip to content
Snippets Groups Projects
Commit c914e041 authored by Taya Snijder's avatar Taya Snijder
Browse files

removed exception

parent d88d02db
No related branches found
No related tags found
1 merge request!430L2SS-974 ccd alarm fixes
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment