17:29, EET
January 30, 2014
Hi,
I have one issue that might be client side bug.
I am using latest release of prosys lib and for test I am using UaAnsiC demo server.
The issue is related to subscription to String nodes.
I have simple app which add 2 nodes to subscription. One is LocalizedText and another is of type String.
Steps:
1) start UaAnsiC demo server
2) start app
I see in log nodes are added to subscription and subscribed but onDataChange() returns value only for LocalizedText.
onDataChange event for String node is missing:
16.11.2016 14:41:57,958 DEBUG TSubscriptionNotificationListener.onDataChange – Monitored data item ns=4;s=Demo.Static.Scalar.LocalizedText has changed, new value () kkkknnn
16.11.2016 14:41:57,958 DEBUG TSubscriptionNotificationListener.onDataChange – NodeReference nsuri=http://www.unifiedautomation.com/DemoServer/;s=Demo.Static.Scalar.LocalizedText
16.11.2016 14:41:57,958 DEBUG TSubscriptionNotificationListener.onDataChange – Node element class class org.opcfoundation.ua.builtintypes.LocalizedText
16.11.2016 14:41:57,959 DEBUG TSubscriptionNotificationListener.onDataChange – Variable nsuri=http://www.unifiedautomation.com/DemoServer/;s=Demo.Static.Scalar.LocalizedText found in cache.
3) Now I closed the app.
4) I entered empty string to String node by using UaExpert client (just enter in the field of DataAccess view)
5) Start app again
Now in log I see it is subscribed to both nodes and listener returns data change for both:
16.11.2016 16:24:11,943 DEBUG TSubscriptionNotificationListener.onDataChange – Monitored data item ns=4;s=Demo.Static.Scalar.String has changed, new value
16.11.2016 16:24:11,943 DEBUG TSubscriptionNotificationListener.onDataChange – NodeReference nsuri=http://www.unifiedautomation.com/DemoServer/;s=Demo.Static.Scalar.String
16.11.2016 16:24:11,944 DEBUGTSubscriptionNotificationListener.onDataChange – Node element class class java.lang.String
16.11.2016 16:24:11,944 DEBUG TSubscriptionNotificationListener.onDataChange – Variable nsuri=http://www.unifiedautomation.com/DemoServer/;s=Demo.Static.Scalar.String found in cache.
16.11.2016 16:24:11,945 DEBUG TSubscriptionNotificationListener.onDataChange – Monitored data item ns=4;s=Demo.Static.Scalar.LocalizedText has changed, new value null
16.11.2016 16:24:11,945 DEBUG TSubscriptionNotificationListener.onDataChange – NodeReference nsuri=http://www.unifiedautomation.com/DemoServer/;s=Demo.Static.Scalar.LocalizedText
16.11.2016 16:24:11,945 DEBUG TSubscriptionNotificationListener.onDataChange – Node element class class org.opcfoundation.ua.builtintypes.LocalizedText
16.11.2016 16:24:11,945 DEBUG TSubscriptionNotificationListener.onDataChange – Variable nsuri=http://www.unifiedautomation.com/DemoServer/;s=Demo.Static.Scalar.LocalizedText found in cache.
It looks that some specific state of String nodes in UaAnsiC demo server cause prosys client to fail in receiving initial onDataChange() just after
subscription.
Could you please check?
BR,
gjevremovic
11:04, EET
December 21, 2011
13:06, EET
January 30, 2014
Hi Aro,
Thanks, I agree. I was wrong. More sense is that this doesn’t have anything with client. I wonder what might it be and hope maybe you had similar reported.
Generally it is more correct to say that UaAnsiC demo server miss initial publish in this case.
I will try with wireshark, currently I can’t (don’t know how to) monitor local opcua demo server with wireshark.
I added port to the prefernces of opcua but when I type opcua
in the filter there is nothing in the list.
BR,
gjevremovic
13:21, EET
December 21, 2011
11:52, EET
December 21, 2011
16:38, EET
December 21, 2011
I got a response that they could not reproduce the issue. So, if you can create a Wireshark or Compliance Test Tool recording of the session (in client mode – if you are OPCF member), that would help the most to analyse what is happening in practice.
And please, contact Unified Automation support directly, if possible.
Most Users Ever Online: 1919
Currently Online:
25 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: 737
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1524
Posts: 6450
Newest Members:
fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerleyModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1