OPCUA notification queue size|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
OPCUA notification queue size
Avatar
prabhakaran prabs
Member
Members
Forum Posts: 42
Member Since:
01/07/2022
sp_UserOfflineSmall Offline
1
05/19/2024 - 23:30
sp_Permalink sp_Print

Hi,

I have developed OPC UA SERVER application using CSharp(C#) language.

I have one requirement,

OPCUA server shall support a notification queue size per monitored item at least equal to the number of value changes that the variable can generate in 500 milliseconds.

How to implement it?

I have used following application configuration file.

<MaxNotificationQueueSize>100</MaxNotificationQueueSize>
<MaxNotificationsPerPublish>1000</MaxNotificationsPerPublish>

Avatar
Randy Armstrong
Admin
Forum Posts: 1511
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
05/20/2024 - 07:48
sp_Permalink sp_Print

Depends on the source data.

If you have a source that generates 1 change per microsecond then you need a 500,000 element queue size.

MaxNotificationQueueSize is the right parameter.

Avatar
prabhakaran prabs
Member
Members
Forum Posts: 42
Member Since:
01/07/2022
sp_UserOfflineSmall Offline
3
05/24/2024 - 02:12
sp_Permalink sp_Print

How did you find queue size is 500,000. can you explain?

Avatar
Randy Armstrong
Admin
Forum Posts: 1511
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
05/28/2024 - 15:03
sp_Permalink sp_Print

500 ms == 500,000 microseconds

Avatar
prabhakaran prabs
Member
Members
Forum Posts: 42
Member Since:
01/07/2022
sp_UserOfflineSmall Offline
5
05/29/2024 - 00:11
sp_Permalink sp_Print

How to configure source that generates 1 change per microsecond in OPC UA Server config file?

I am using below config.

<DiagnosticsEnabled>true</DiagnosticsEnabled>
<MaxSessionCount>100</MaxSessionCount>
<MinSessionTimeout>1000</MinSessionTimeout>
<MaxSessionTimeout>60000</MaxSessionTimeout>
<MaxBrowseContinuationPoints>10</MaxBrowseContinuationPoints>
<MaxQueryContinuationPoints>10</MaxQueryContinuationPoints>
<MaxHistoryContinuationPoints>100</MaxHistoryContinuationPoints>
<MaxRequestAge>600000</MaxRequestAge>
<MinPublishingInterval>500</MinPublishingInterval>
<MaxPublishingInterval>3600000</MaxPublishingInterval>
<PublishingResolution>50</PublishingResolution>
<MaxSubscriptionLifetime>3600000</MaxSubscriptionLifetime>
<MaxMessageQueueSize>100</MaxMessageQueueSize>
<MaxNotificationQueueSize>500000</MaxNotificationQueueSize>
<MaxNotificationsPerPublish>1000</MaxNotificationsPerPublish>
<MinMetadataSamplingInterval>1000</MinMetadataSamplingInterval>

Avatar
Randy Armstrong
Admin
Forum Posts: 1511
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
05/29/2024 - 08:05
sp_Permalink sp_Print

You can't. It was a hypothetical point I raised to point out that the requirement is ambiguous.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Magnus Raunio
Guest(s) 71
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1395
Posts: 4715