You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I download client-minimal.py.
Change host to client = Client("opc.tcp://192.168.3.100:4840/freeopcua/server/") or client = Client("opc.tcp://192.168.3.100:4840")
And it generate error when run:
root@GP120OH:~/opcua1# python3 client-minimal.py
Objects node is: Node(TwoByteNodeId(i=84))
Children of root are: [Node(TwoByteNodeId(i=87)), Node(TwoByteNodeId(i=85)), Node(TwoByteNodeId(i=86))]
Traceback (most recent call last):
File "client-minimal.py", line 32, in <module>
myvar = root.get_child(["0:Objects", "2:MyObject", "2:MyVariable"])
File "/usr/lib/python3/dist-packages/opcua/common/node.py", line 470, in get_child
result.StatusCode.check()
File "/usr/lib/python3/dist-packages/opcua/ua/uatypes.py", line 233, in check
raise UaStatusCodeError(self.value)
opcua.ua.uaerrors._auto.BadNoMatch: The requested operation has no match to return.(BadNoMatch)
The text was updated successfully, but these errors were encountered:
I install it.
In GUI it work.
I download client-minimal.py.
Change host to client = Client("opc.tcp://192.168.3.100:4840/freeopcua/server/") or client = Client("opc.tcp://192.168.3.100:4840")
And it generate error when run:
The text was updated successfully, but these errors were encountered: