diff --git a/tangostationcontrol/tangostationcontrol/devices/ccd.py b/tangostationcontrol/tangostationcontrol/devices/ccd.py index 24b30217d8fed02d24fb2640d5628e12232973d2..e053d26c4e879fca236a4277742c96c0f119d350 100644 --- a/tangostationcontrol/tangostationcontrol/devices/ccd.py +++ b/tangostationcontrol/tangostationcontrol/devices/ccd.py @@ -112,7 +112,10 @@ class CCD(opcua_device): # overloaded functions # -------- - def _initialise_hardware(self): + @command() + @DebugIt() + @only_in_states(DEFAULT_COMMAND_STATES) + def reset_hardware(self): """ Initialise the CCD hardware. """ # Cycle clock