10:47, EEST
May 7, 2018
Hello
I have become a fan of using the OPC UA Client to quickly verify server connection settings. However with the client’s search feature I have quite some difficulties. We have mostly String IdTypes and for “simple” strings (like PLC or TestNode) there is no problems. Now, attempting to find a node in e.g. a Siemens OPC UA server is kind of impossible. This kind of server often wraps the parts of the node id value in quotes and generates the path into the id separated by dots:
Example NodeId: ns=3;s=”Leitsystem”.”IST”.”TEYH_UB_0001-EFB”
This kind of names are never resolved by the search feature. The response for a string type search with the value “Leitsystem”.”IST”.”TEYH_UB_0001-EFB” (in this case in namespace 3) results in a dialog displaying the StatusCodes.Bad_NodeIdUnknown message. Attempting to escape the quotes (and also the dots) with different common escape characters makes no change.
It would be great if the textual search for nodes supported regular expressions or some wildcards. The seach could jump to the next node found with a matching node id value (and F3 for forward respectively CTRL+F3 for backward search)
Cheers!
Jim
11:59, EEST
April 17, 2013
Hi Jim,
Searching a node id with the specified string ”Leitsystem”.”IST”.”TEYH_UB_0001-EFB” should work fine. There’s no problematic special characters in this string.
You don’t also need to do any escaping. It should enough just to input the string directly with the non-escaped quotation marks.
So, there’s either a bug in the client or some other issue which prevents the node from being found. Based on this information alone, I’d say there’s a chance that the node id indeed is not available in the server even though it should be.
Could you double check that the node id indeed exists and the node id was copied without error to the search dialog?
If the issue persists, please send us a screenshot showing the node id in the Attributes and References view, the input to the Search for NodeId dialog and the resulting error message. Also, please mention what is the version of the Prosys OPC UA Client that you’re using. These files cannot be attached here on the forum, so you’ll need to send them by email to us at uajava-support prosysopc.com.
As for the “reg exp or wildcards” question: this would be a very nice feature, but I’m afraid it’s not in our roadmap currently. Furthermore, this would be a big technical change. Nowadays, the search functionality can directly read the attributes and browse for references when the node id has been supplied. To provide this kind of advanced search, the client should in practice browse through the whole OPC UA server address space. If the address space is large, then this can add considerable overhead.
17:44, EEST
May 7, 2018
Hello Heikki and thanks for the quick reply!
I might need to specify that this concerns your Prosys Client one can download as separate application, not the client in the SDK. The product version is v3.3.0-256 and it was the same problem with the previous one (v2.3.2 i believe).
I would attach two screenshots here but it does not seem possible?
I see what you mean with wildcards and so, and it is no big problem for me actually to accept that 🙂
Cheers
Jim
9:42, EEST
April 17, 2013
12:33, EEST
April 17, 2013
Hello,
Thank you for the screenshots, they arrived successfully.
In this case, the issue is that there’s no inverse references available from the searched node. One of the main points of the current search functionality of Prosys OPC UA Client is that users can find out the browse path to the specified node. With the current implementation, this is not possible if there’s no inverse references to follow from the node.
The most obvious and easily fixable issue is that the error message should be clearer. Now the error message states “The node id refers to a node that does not exist in the server address space”. But the node does exist, the issue is that it doesn’t have the needed references. We’ll mark this into our issue tracker and fix the error message in a coming release.
On a longer timeline, the logic could also be reworked to make the search work without inverse references. But the rework would probably require a large amount of work and this is not in the immediate roadmap. And if this feature is reworked, it could similarly add more intelligent filtering such as regular expressions and wildcards such as proposed in your original forum post.
Most Users Ever Online: 1919
Currently Online:
13 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 726
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_galleryModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1