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
MonitoredDataItem to slow on Client Side
March 24, 2015
9:39, EET
Avatar
Ibrahim
Member
Members
Forum Posts: 78
Member Since:
August 20, 2014
sp_UserOfflineSmall Offline

Hello,
i created an OPC UA Server with Prosys Java SDK. Now i wrote a Test-Client also with the Java SDK and i want to react on Changes of Values of Nodes in the Server. My problem is, that the reaction on the client side is to slow. The client reacts about one second to later. When i connect to the Server via UaExpert, the reaction on Changes in DataAccess View is very fast (milliseconds). What can i do, to make my client react faster on Changes? I Already tried: “setSamplingInterval(0)”, which should set the interval to the fastest possible, but did not change anything.

Thanks.
Ibrahim

March 24, 2015
13:01, EET
Avatar
Ibrahim
Member
Members
Forum Posts: 78
Member Since:
August 20, 2014
sp_UserOfflineSmall Offline

Hi,
i found out, why the client was so slow. I had to set “subscription.setPublishingInterval(50)”. 50 ms was just an example. Now the client reacts very fast on changes. But i have another question. My server outputs “Acknowledge on Subscription 10: 2 – Bad_SequenceNumberUnknown”. i searched for this in the forum and found, that the reason could be the “maxRetransmissionQueueSize”. I already set it to “1000000”, but nothing changed.

March 24, 2015
14:35, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Good that you figured out the PublishingInterval.

Acknowledgement seems a bit strange, but maybe the client is trying to acknowledge the same messages several times? In general, you can ignore these messages, if everything is working properly otherwise.

March 24, 2015
15:25, EET
Avatar
Ibrahim
Member
Members
Forum Posts: 78
Member Since:
August 20, 2014
sp_UserOfflineSmall Offline

OK,
many Thanks..Laugh

April 7, 2015
6:30, EEST
Avatar
Ibrahim
Member
Members
Forum Posts: 78
Member Since:
August 20, 2014
sp_UserOfflineSmall Offline

Hi,
now since my OPC UA Server is running for a few days, my log files a full of the mentioned above “Bad_SequenceNumberUnknown” messages. Is there a way to stop the Server printing this, without changing the loglevel. Of course the best solution would be, to find out why the Server does that.
BTW: Everything else works properly.

Thanks.

April 7, 2015
14:59, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1026
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

Currently it is not possible without changing the log level (you could of course change it just for com.prosysopc.ua.server.Subscription). There was some changes related to this in order to get the certification. The error indicates that the client tries to acknowledge an unknown sequence number, i.e. something the client should not do. But of course its not that practical to see it every minute in a log file. We need to think about it..

– Bjarne

April 7, 2015
15:28, EEST
Avatar
Ibrahim
Member
Members
Forum Posts: 78
Member Since:
August 20, 2014
sp_UserOfflineSmall Offline

OK,
thanks.

April 10, 2015
14:42, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

I found a bug from the client side, which causes the notifications to the server, if there are alive packages being sent (which the client is also acknowledging, although it should not). Will be fixed in the next update – or you can request a beta fix from uajava-support at prosysopc.com.

April 22, 2015
9:13, EEST
Avatar
Ibrahim
Member
Members
Forum Posts: 78
Member Since:
August 20, 2014
sp_UserOfflineSmall Offline

Thanks.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
26 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: 738

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6451

Newest Members:

jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0

Administrators: admin: 1