diff --git a/README.md b/README.md index 3a55e8c1c141451f1ff1aaa004119bca6ada2de0..62903e05ab9ca836c5cbc804cc4a18ce87c444ff 100644 --- a/README.md +++ b/README.md @@ -161,6 +161,8 @@ Next change the version in the following places: # Release Notes +* 0.38.2 Fixed polling of some attributes required by Metadata device + Wait 2s after enabling FPGA_processing_enable_RW to allow it to propagate * 0.38.1 Custom compiled casacore for improved beam-tracking performance * 0.38.0 Add metadata device publishing zmq events * 0.37.2 Improved event-subscription interface, avoid overlap between polling loops. diff --git a/tangostationcontrol/VERSION b/tangostationcontrol/VERSION index bb22182d4f72fd2a28c50b8ecfa5df74501dc431..f2e78d495a04faa6e6838ebbec69daf395772e43 100644 --- a/tangostationcontrol/VERSION +++ b/tangostationcontrol/VERSION @@ -1 +1 @@ -0.38.1 +0.38.2 diff --git a/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py b/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py index e65c152135b862de58c59dbf353db6d48aa2bc15..8d1b183628c1a23ef5de491bc513ca7f6985ef23 100644 --- a/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py +++ b/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py @@ -785,6 +785,10 @@ class LOFARDevice(Device): @debugit() @log_exceptions() def set_defaults(self): + # Defer to undecorated version that might be overloaded + self._set_defaults() + + def _set_defaults(self): """Set hardware points to their default value. A hardware point XXX is set to the value of the object member named XXX_default, diff --git a/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py b/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py index 6c1cf3a494d96fd0dde5df482aab5aa455601ea4..5d56bff41d1bb9d20d5cc9a5fdd5fdf685296fe5 100644 --- a/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py +++ b/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py @@ -4,6 +4,7 @@ """ SDP Device Server for LOFAR2.0 """ +import time from typing import Dict, List, Tuple import numpy @@ -566,6 +567,13 @@ class SDP(OPCUADevice): except ZeroDivisionError: return 1.0 + def _set_defaults(self): + super()._set_defaults() + + # wait 2s for the BSN to propagate through the FPGAs after + # enabling FPGA_processing_enable_RW. + time.sleep(2.0) + def configure_for_initialise(self): super().configure_for_initialise()