From d2a7af80c9698d12c67a2aae101b685795d2c60e Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Mon, 18 Oct 2021 10:58:31 +0200
Subject: [PATCH] L2SS-358: Ant -> ANT, updated ADC lock reference

---
 devices/devices/recv.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/devices/devices/recv.py b/devices/devices/recv.py
index f67ea5967..17909f523 100644
--- a/devices/devices/recv.py
+++ b/devices/devices/recv.py
@@ -63,7 +63,7 @@ class RECV(opcua_device):
     # ----------
     # Attributes
     # ----------
-    Ant_status_R = attribute(dtype=str, max_dim_x=3, max_dim_y=32)
+    ANT_status_R = attribute(dtype=str, max_dim_x=3, max_dim_y=32)
 
     ANT_mask_RW                  = attribute_wrapper(comms_annotation=["ANT_mask_RW"               ],datatype=numpy.bool_  , dims=(3,32), access=AttrWriteType.READ_WRITE)
     HBAT_BF_delays_R             = attribute_wrapper(comms_annotation=["HBAT_BF_delays_R"          ],datatype=numpy.int64  , dims=(32,96))
@@ -192,7 +192,7 @@ class RECV(opcua_device):
 
         return rcu_status
 
-    def read_Ant_status_R(self):
+    def read_ANT_status_R(self):
         """ Returns a set of strings denoting the status of each antenna.
 
             An empty string means no problems were detected. A non-empty
@@ -200,9 +200,9 @@ class RECV(opcua_device):
 
             This function can be used as input to modify the Ant_mask_RW. """
 
-        ant_mask = self.Ant_mask_RW
+        ant_mask = self.ANT_mask_RW
         rcu_mask = self.RCU_mask_RW
-        adc_lock = self.RCU_ADC_lock_R
+        adc_lock = self.RCU_ADC_locked_R
         i2c_errors = self.RCU_I2C_STATUS_R
 
         nr_rcus = len(ant_mask)
-- 
GitLab