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

L2SS-974 removed lock exception and instead print a warning log

parent 7cec2435
No related branches found
No related tags found
1 merge request!430L2SS-974 ccd alarm fixes
...@@ -128,7 +128,7 @@ class CCD(opcua_device): ...@@ -128,7 +128,7 @@ class CCD(opcua_device):
if self.read_attribute("CCDTR_I2C_error_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. Maybe power cycle subrack to restart CLK board and translator?")
else: else:
raise Exception("CCD clock is not locked") logger.warning("CCD not locked, this may indicate the clock has not yet warmed up")
def _disable_hardware(self): def _disable_hardware(self):
""" Disable the CCD hardware. """ """ Disable the CCD hardware. """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment