Description field returns Empty string|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Description field returns Empty string
Avatar
Ilayaraja Chandresekaran
Member
Members
Forum Posts: 5
Member Since:
06/27/2022
sp_UserOfflineSmall Offline
1
11/08/2022 - 09:03
sp_Permalink sp_Print

I'm working on small project that uses OPC UA library to browse OPC Tags from the kepware server, the objective of the application is to browse all available tags and read their attributes (Description, Data Type, Access Level, Scaling used?). I follow the same code that used for UA Sample Client (C#), I found sample client doesn't show the description field value, it shows empty string for that field alone, I'm unable to attach a screenshot here. 

Avatar
Randy Armstrong
Admin
Forum Posts: 1438
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
11/08/2022 - 09:48
sp_Permalink sp_Print

Can you see a description returned from the server? No all nodes have a description.

Avatar
Ilayaraja Chandresekaran
Member
Members
Forum Posts: 5
Member Since:
06/27/2022
sp_UserOfflineSmall Offline
3
11/08/2022 - 09:51
sp_Permalink sp_Print sp_EditHistory

I can see description for all nodes in Kepware Ex Quick client and in the server, but nothing shows for any tags in C# OPC UA Client. 

see this screenshot from the below link, the popup window is from C# Sample Client. 

View post on imgur.com

 

Avatar
Randy Armstrong
Admin
Forum Posts: 1438
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
11/08/2022 - 20:21
sp_Permalink sp_Print

You will need to debug the code and verify that the client is:

1) Asking for the Description in the Read Request

2) Getting a Good result + Empty string

Also I am not sure that KepWare client uses UA to talk to KepServerEX.

Try a pure UA Client like UAExpert: https://www.unified-automation.....xpert.html

Avatar
Ilayaraja Chandresekaran
Member
Members
Forum Posts: 5
Member Since:
06/27/2022
sp_UserOfflineSmall Offline
5
11/09/2022 - 09:48
sp_Permalink sp_Print

ok, I see there is no description shown in UA Expert tool too, I think this is some issue with server end. thanks for you help! 

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 21
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1341
Posts: 4545