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

Function get_node

opcua/tools.py:90–98  ·  view source on GitHub ↗
(client, args)

Source from the content-addressed store, hash-verified

88
89
90def get_node(client, args):
91 node = client.get_node(args.nodeid)
92 if args.path:
93 path = args.path.split(",")
94 if node.nodeid == ua.NodeId(84, 0) and path[0] == "0:Root":
95 # let user specify root if not node given
96 path = path[1:]
97 node = node.get_child(path)
98 return node
99
100
101def uaread():

Callers 8

uareadFunction · 0.85
uawriteFunction · 0.85
ualsFunction · 0.85
uasubscribeFunction · 0.85
uaclientFunction · 0.85
uahistoryreadFunction · 0.85
uacallFunction · 0.85
uageneratestructsFunction · 0.85

Calls 2

get_childMethod · 0.80
get_nodeMethod · 0.45

Tested by

no test coverage detected