diff --git a/devices/devices/recv.py b/devices/devices/recv.py index f67ea5967541188b90ce0f9973b0567f68921898..17909f523ae5a7f8eadb28c5012ca6e542bf88d3 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)