MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / get_array_dimensions

Method get_array_dimensions

opcua/common/node.py:174–179  ·  view source on GitHub ↗

Read and return ArrayDimensions attribute of node

(self)

Source from the content-addressed store, hash-verified

172 self.set_attribute(ua.AttributeIds.ArrayDimensions, ua.DataValue(v))
173
174 def get_array_dimensions(self):
175 """
176 Read and return ArrayDimensions attribute of node
177 """
178 res = self.get_attribute(ua.AttributeIds.ArrayDimensions)
179 return res.Value.Value
180
181 def set_value_rank(self, value):
182 """

Callers 2

_test_xml_var_typeMethod · 0.80

Calls 1

get_attributeMethod · 0.95

Tested by 2

_test_xml_var_typeMethod · 0.64