From f6123e08d4d2a4088b3c8d1cb0245c8656b3890b Mon Sep 17 00:00:00 2001
From: thijs snijder <snijder@astron.nl>
Date: Mon, 26 Sep 2022 13:31:17 +0200
Subject: [PATCH] added comments

---
 tangostationcontrol/tangostationcontrol/devices/ccd.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tangostationcontrol/tangostationcontrol/devices/ccd.py b/tangostationcontrol/tangostationcontrol/devices/ccd.py
index dbeaca59d..b17184d29 100644
--- a/tangostationcontrol/tangostationcontrol/devices/ccd.py
+++ b/tangostationcontrol/tangostationcontrol/devices/ccd.py
@@ -118,7 +118,7 @@ class CCD(opcua_device):
     def reset_hardware(self):
         """ Initialise the CCD hardware. """
 
-        # Cycle clock
+        # Cycle clock. Quickly toggling the heater should not cool the heater down too much.
         self.CCD_off()
         self.wait_attribute("CCDTR_translator_busy_R", False, self.CCD_On_Off_timeout)
         self.CCD_on()
@@ -131,7 +131,10 @@ class CCD(opcua_device):
                 logger.warning("CCD not locked, this may indicate the clock has not yet warmed up")
 
     def _disable_hardware(self):
-        """ Disable the CCD hardware. """
+        """ Disable the CCD hardware.
+        WARNING: The CCD contains a heater that takes about 15 minutes to fully heat up from a cold start.
+        This
+        """
 
         # Turn off the CCD
         self.CCD_off()
-- 
GitLab