From d88d02db06c3a642df835e4e06fe19a47395cf16 Mon Sep 17 00:00:00 2001
From: thijs snijder <snijder@astron.nl>
Date: Thu, 22 Sep 2022 17:01:05 +0200
Subject: [PATCH] L2SS-974 removed lock exception and instead print a warning
 log

---
 tangostationcontrol/tangostationcontrol/devices/ccd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tangostationcontrol/tangostationcontrol/devices/ccd.py b/tangostationcontrol/tangostationcontrol/devices/ccd.py
index e053d26c4..56978e75a 100644
--- a/tangostationcontrol/tangostationcontrol/devices/ccd.py
+++ b/tangostationcontrol/tangostationcontrol/devices/ccd.py
@@ -128,7 +128,7 @@ class CCD(opcua_device):
             if self.read_attribute("CCDTR_I2C_error_R"):
                 raise Exception("I2C is not working. Maybe power cycle subrack to restart CLK board and translator?")
             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):
         """ Disable the CCD hardware. """
-- 
GitLab