Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Problem Searching NodeIds
May 7, 2018
10:47, EEST
Avatar
Jim Stanton
Member
Members
Forum Posts: 6
Member Since:
May 7, 2018
sp_UserOfflineSmall Offline

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

May 7, 2018
11:59, EEST
Avatar
Heikki Tahvanainen
Moderator
Members

Moderators
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

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.

May 7, 2018
17:44, EEST
Avatar
Jim Stanton
Member
Members
Forum Posts: 6
Member Since:
May 7, 2018
sp_UserOfflineSmall Offline

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

May 9, 2018
9:42, EEST
Avatar
Heikki Tahvanainen
Moderator
Members

Moderators
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

Hi Jim,

Yes, screenshots cannot be attached here on the forum. You’ll need to send them by email to us at uajava-support prosysopc.com as instructed in the previous post. Let me know if there’s a problem to send these by email.

May 14, 2018
17:09, EEST
Avatar
Jim Stanton
Member
Members
Forum Posts: 6
Member Since:
May 7, 2018
sp_UserOfflineSmall Offline

Hello Heikki

I sent two screenshots today by email as you proposed

May 15, 2018
12:33, EEST
Avatar
Heikki Tahvanainen
Moderator
Members

Moderators
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

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.

May 16, 2018
16:39, EEST
Avatar
Jim Stanton
Member
Members
Forum Posts: 6
Member Since:
May 7, 2018
sp_UserOfflineSmall Offline

Thank you very much Heikki for clarifying this matter. I understand now why it does not work when I try to search a node. I will forward this to the company supplying this server, maybe they can add the inverse references.

Cheers!
Jim

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 109

pramanj: 86

ibrahim: 71

kapsl: 57

gjevremovic: 49

TimK: 41

fred: 41

Fransua33: 39

Xavier: 34

Thomas Reuther: 33

Member Stats:

Guest Posters: 0

Members: 1221

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1089

Posts: 4591

Newest Members:

aravindj, Deniz.Turan, DenizT, igonzalez, lavonwinters963, felicapurdy9, shoshanastopford, UlrichFM, majaba, Yash_Joshi_Pratiti

Moderators: Jouni Aro: 865, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 620, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Teppo Uimonen: 21, Markus Johansson: 30, Matti Siponen: 92, Lusetti: 0

Administrators: admin: 1