diff --git a/tangostationcontrol/tangostationcontrol/devices/sdp/beamlet.py b/tangostationcontrol/tangostationcontrol/devices/sdp/beamlet.py index 5f2fb24a6b3a2a06a3082fbd6c38f17308a5d2ee..3fb71a72940c7f4930a884be893e50565f8811bb 100644 --- a/tangostationcontrol/tangostationcontrol/devices/sdp/beamlet.py +++ b/tangostationcontrol/tangostationcontrol/devices/sdp/beamlet.py @@ -34,6 +34,7 @@ from tangostationcontrol.common.constants import ( ) # Additional import +from tangostationcontrol.common.device_decorators import debugit from tangostationcontrol.common.lofar_logging import log_exceptions from tangostationcontrol.common.proxy import create_device_proxy from tangostationcontrol.common.sdp import phases_to_weights @@ -650,7 +651,9 @@ class Beamlet(OPCUADevice): "FPGA_beamlet_output_nof_destinations_RW_default_shorthand" ] - default_settings = [] + default_settings = [ + ("FPGA_beamlet_output_nof_destinations_RW", nof_destinations) + ] # Set MAC, IP, port for setting, value_if_undefined in [ @@ -680,6 +683,7 @@ class Beamlet(OPCUADevice): # report effective number of output destinations return self.read_attribute("FPGA_beamlet_output_nof_destinations_act_R") + @debugit() def write_FPGA_beamlet_output_nof_destinations_RW(self, value): old_FPGA_processing_enable = self.sdp_proxy.FPGA_processing_enable_RW try: