From 9d6fcba35749aab1b4d47cdbfd94c7b4e437e569 Mon Sep 17 00:00:00 2001
From: thijs snijder <snijder@astron.nl>
Date: Tue, 27 Sep 2022 09:23:49 +0200
Subject: [PATCH] L2SS-965 fixed type and removed configure for initialise

---
 tangostationcontrol/tangostationcontrol/devices/recv.py | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/tangostationcontrol/tangostationcontrol/devices/recv.py b/tangostationcontrol/tangostationcontrol/devices/recv.py
index 22b31f5c5..f61e82b5e 100644
--- a/tangostationcontrol/tangostationcontrol/devices/recv.py
+++ b/tangostationcontrol/tangostationcontrol/devices/recv.py
@@ -64,9 +64,9 @@ class RECV(opcua_device):
     )
 
     RCU_attenuator_dB_RW_default = device_property(
-        dtype='DevFloat',
+        dtype='DevVarLong64Array',
         mandatory=False,
-        default_value=[0.0] * 96
+        default_value=[0] * 96
     )
 
     RCU_band_select_RW_default = device_property(
@@ -265,11 +265,6 @@ class RECV(opcua_device):
         # Restore the mask
         self.RCU_mask_RW = RCU_mask
 
-    def configure_for_initialise(self):
-        super().configure_for_initialise()
-        # apply the RCU_attenuator_dB config
-        self.RCU_attenuator_dB_RW = self.RCU_band_select_RW_default
-
     # --------
     # internal functions
     # --------
-- 
GitLab