# NOTE: debug statement tries to get the qualified name, this may not always work. in that case forgo the name and just print the path
...
...
@@ -129,8 +129,16 @@ class OPCUAConnection(AsyncCommClient):
self.streams.debug_stream("connected OPC ua node {} of type {} to attribute with dimensions: {} x {} ".format(str(node_name)[:len(node_name)-1],str(ua_type)[len("VariantType."):],dim_x,dim_y))
except:
pass
# Tango will call these from a separate polling thread.
raiseTypeError(f"Cannot write value to OPC-UA attribute '{attribute_name}': tried to convert data type {our_type} to expected server type {expected_server_type}, server reports type {actual_server_type}")frome