Open sasauz opened 4 years ago
According to: http://documentation.unified-automation.com/uasdkhp/1.0.0/html/_l2_ua_node_ids.html
What is the "Identifier Type" of this variable you want to subscribe?
It is String:
from above: var = client.get_node("ns=3;s=OPC_UA.nsuri=http://opcuatest.com/something/;s=level1.level2.l3.l4")
have you tried to use: var = client.get_node("ns=3;s=level1.level2.l3.l4")
it looks strange to me if i see two times "s=" => "ns=3;s=xxx;s=yyy"
this looks like a namespaceuri: http://opcuatest.com/something/ and this like the identifier: level1.level2.l3.l4
what system is it i have never seen such strange node id... sorry
"s=" => "ns=3;s=xxx;s=yyy" it is also new to me. It's look like a namespace uri with identifier inside of identifier
But what is really interesting, it is possible to read data with Softing OPC-UA Client, but not with other Clients/Libraries
have you tried to use: var = client.get_node("ns=3;s=level1.level2.l3.l4")
yes, I also try so, but it also doesn't work
Is it possible to read data with freeOpcUa via display name or with browse name?
Our library crashes for sure due to the extra ; inside your string urn. You will need to prove this is acceptable by spec before changing this
Is there any update??
I have the same problem but I get the value by navigate the nodes with get_children function but it doesn't work with get_node function.
this is not a valid nodeid!
@fcaspani01
ns=<namespaceIndex>;<identifiertype>=<identifier>
see https://documentation.unified-automation.com/uasdkhp/1.4.1/html/_l2_ua_node_ids.html
there are cases of an expanded nodeids
nsu=<namespaceUri>;<identifiertype>=<identifier>
for which you need to read the namespacearray from server and resolve to
ns=<namespaceIndex>;<identifiertype>=<identifier>
Hallo,
I'm trying to subscribe to OPC-UA node with nsuri. It is loock licke: ns=3;s=OPC_UA.nsuri=http://opcuatest.com/something/;s=level1.level2.l3.l4
My Quell-Code looks like:
This is the output
get_node-Method loose "s=OPC_UA.nsuri=http://opcuatest.com/something/".
Can some one help me?
UPDATE; I have also try to use get_namespace_index
but it also doesn't work: