diff --git a/tangostationcontrol/tangostationcontrol/devices/antennafield.py b/tangostationcontrol/tangostationcontrol/devices/antennafield.py index 1f117c30874d19c48ae55c82e3fd213f6ece705b..97e5e60899be792dec19df33afb964facdef0cea 100644 --- a/tangostationcontrol/tangostationcontrol/devices/antennafield.py +++ b/tangostationcontrol/tangostationcontrol/devices/antennafield.py @@ -593,6 +593,8 @@ class AntennaField(LOFARDevice): dtype=(numpy.float64,), max_dim_x=MAX_ANTENNA, doc="RCU Dither source power (dBm). Range -25 to -4.", + min_value=-25, + max_value=-4, ) RCU_DTH_PWR_RW = MappedAttribute( "RCU_DTH_PWR_RW", @@ -600,6 +602,8 @@ class AntennaField(LOFARDevice): max_dim_x=MAX_ANTENNA, access=AttrWriteType.READ_WRITE, doc="RCU Dither source power (dBm). Range -25 to -4.", + min_value=-25, + max_value=-4, ) RCU_DAB_filter_on_R = MappedAttribute( "RCU_DAB_filter_on_R", diff --git a/tangostationcontrol/tangostationcontrol/devices/recv.py b/tangostationcontrol/tangostationcontrol/devices/recv.py index 26664f993524285e68b84976f180cc5cd75a5b60..afbd472178e63938e31590bd77de0a4de19373cf 100644 --- a/tangostationcontrol/tangostationcontrol/devices/recv.py +++ b/tangostationcontrol/tangostationcontrol/devices/recv.py @@ -256,6 +256,8 @@ class RECV(OPCUADevice): datatype=numpy.float64, dims=(N_rcu, N_rcu_inp), doc="RCU Dither source power (dBm). Range -25 to -4.", + min_value=-25, + max_value=-4, ) RCU_DTH_PWR_RW = AttributeWrapper( comms_annotation=["RCU_DTH_PWR_RW"], @@ -263,6 +265,8 @@ class RECV(OPCUADevice): access=AttrWriteType.READ_WRITE, dims=(N_rcu, N_rcu_inp), doc="RCU Dither source power (dBm). Range -25 to -4.", + min_value=-25, + max_value=-4, ) RCU_LED_green_on_R = AttributeWrapper( comms_annotation=["RCU_LED_green_on_R"], datatype=bool, dims=(N_rcu,)