Skip to content
Snippets Groups Projects
Commit 11755b4e authored by Jan David Mol's avatar Jan David Mol
Browse files

Merge branch 'L2SS-667-fix-beam-off' into 'master'

L2SS-667: Do not stop beam tracking if it hasn't been started

Closes L2SS-667

See merge request !257
parents 9bf5ce04 fdd1b7b4
Branches
Tags
1 merge request!257L2SS-667: Do not stop beam tracking if it hasn't been started
......@@ -87,6 +87,13 @@ class Beam(lofar_device):
# --------
# overloaded functions
# --------
def init_device(self):
super().init_device()
# thread to perform beam tracking
self.HBAT_beam_tracker = None
@log_exceptions()
def configure_for_initialise(self):
super().configure_for_initialise()
......@@ -126,6 +133,7 @@ class Beam(lofar_device):
@log_exceptions()
def configure_for_off(self):
if self.HBAT_beam_tracker:
# Stop thread object
self.HBAT_beam_tracker.stop()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment