get_parent() returns wrong parent #1928
Closed
Statkern15
started this conversation in
General
Replies: 2 comments
-
|
Nevermind i missed the comment that the get_parent() method uses reverse references. And when i checked by server does not have those references. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
closed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
i just found a strange behaviour when i tested a method call on a new OPC-Server i got a work.
My script normally gets the method_id and then calles the get_parent() method on that node to get the correct parent.
This worked fine for multiple different machines until now. However with this machine the get_paren method returns the InputArgument variable instead of the object node.


I am not quite sure if this is Bug in the libary or on the machine itself. When i call the method directly from UaExpert it works as expected.
I’m not sure whether this is a bug in the library or a server-specific behavior. Calling the method directly from UaExpert works as expected.
I would appreciate any input on whether I’m missing something in my approach.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions