diff --git a/PCC/PCC/PCC.py b/PCC/PCC/PCC.py index 6156fd5c1181734f494f9111bde442eb1c1d9f2f..f6b20dc021687d6249c3069eb5688a45a5e704c8 100644 --- a/PCC/PCC/PCC.py +++ b/PCC/PCC/PCC.py @@ -69,7 +69,7 @@ class PCC(Device): # Device Properties # ----------------- OPC_Server_Name = device_property( - dtype=numpy.str_, + dtype=numpy.str, mandatory=True ) @@ -79,7 +79,7 @@ class PCC(Device): ) OPC_Time_Out = device_property( - dtype=numpy.uint64, + dtype=numpy.float_, mandatory=True ) @@ -178,7 +178,7 @@ class PCC(Device): ) RCU_version_R = attribute( - dtype=(numpy.str_,), + dtype=(numpy.str,), max_dim_x=32, ) @@ -213,7 +213,6 @@ class PCC(Device): dtype=numpy.float_, ) - # --------------- # General methods # ---------------