diff --git a/tangostationcontrol/tangostationcontrol/devices/beam.py b/tangostationcontrol/tangostationcontrol/devices/beam.py index dc45505f35d7892802e777c8a9e0f1b57dbb75e0..62e9be3acf513a2bba3b7ead6b9217a10c2acbdc 100644 --- a/tangostationcontrol/tangostationcontrol/devices/beam.py +++ b/tangostationcontrol/tangostationcontrol/devices/beam.py @@ -138,9 +138,9 @@ class Beam(lofar_device): # Only the entries within the mask have been updated mask = self.recv_proxy.Ant_mask_RW.flatten() for rcu in range(96): - if mask[tile]: - self._hbat_pointing_direction[tile] = pointing_direction[tile] - self._hbat_pointing_timestamp[tile] = timestamp + if mask[rcu]: + self._hbat_pointing_direction[rcu] = pointing_direction[rcu] + self._hbat_pointing_timestamp[rcu] = timestamp # -------- # Commands