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

Wait 2s after enabling FPGA_processing_enable_RW

parent f56805af
Branches
No related tags found
1 merge request!931Wait 2s after enabling FPGA_processing_enable_RW
......@@ -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.
......
0.38.1
0.38.2
......@@ -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,
......
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment