diff --git a/dispatcher/DAQController.py b/dispatcher/DAQController.py index 9fd3c497..2049928f 100644 --- a/dispatcher/DAQController.py +++ b/dispatcher/DAQController.py @@ -278,8 +278,9 @@ def check_timeouts(self, detector, command=None): self.hypervisor.tactical_nuclear_option() self.last_nuke = now() else: + #self.control_detector(detector=detector, command='stop') self.log.debug(f'Nuclear timeout at {int(dt)}/{self.hv_nuclear_timeout}') - return + #return if command is None: # not specified, we figure out it here command_times = [(cmd,doc[detector]) for cmd,doc in self.last_command.items()] @@ -314,6 +315,7 @@ def check_timeouts(self, detector, command=None): self.hypervisor.tactical_nuclear_option() self.last_nuke = now() else: + self.control_detector(detector=detector, command='stop') self.log.debug(f'Nuclear timeout at {int(dt)}/{self.hv_nuclear_timeout}') self.error_stop_count[detector] = 0 else: