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

L2SS-358: Fix dimensions

parent 540fbed4
No related branches found
No related tags found
1 merge request!163L2SS-358: Update configuration for DarkRAI
...@@ -64,7 +64,7 @@ class RECV(opcua_device): ...@@ -64,7 +64,7 @@ class RECV(opcua_device):
# Attributes # 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)
RCU_LED_colour_R = attribute(dtype=numpy.uint32, dims=(32,), fget=lambda self: (2 * self.RCU_LED_green_on_R + 4 * self.RCU_LED_red_on_R).astype(numpy.uint32)) RCU_LED_colour_R = attribute(dtype=numpy.uint32, max_dim_x=32, fget=lambda self: (2 * self.RCU_LED_green_on_R + 4 * self.RCU_LED_red_on_R).astype(numpy.uint32))
ANT_mask_RW = attribute_wrapper(comms_annotation=["ANT_mask_RW" ],datatype=numpy.bool_ , dims=(3,32), access=AttrWriteType.READ_WRITE) 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)) HBAT_BF_delays_R = attribute_wrapper(comms_annotation=["HBAT_BF_delays_R" ],datatype=numpy.int64 , dims=(32,96))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment