In PubSub configuration, how to config the publisher to publish only changes on data values|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
In PubSub configuration, how to config the publisher to publish only changes on data values
Avatar
Hazel S
Member
Members
Forum Posts: 4
Member Since:
05/26/2021
sp_UserOfflineSmall Offline
1
05/26/2021 - 07:10
sp_Permalink sp_Print sp_EditHistory

Hi, we are trying to limit the publish messages, and hoping the publisher only sends out messages when there's a change in the dataStore. 

I see there's a parameter for PublishingInterval in WriterGroupDataType, and the reference (6.2.5.2) mentions "Event based DataSets". But I'm not sure if that's the right one to go after, since we still want to publish the data value, not the event.

There's also another parameter, KeyFrameCount in DataSetWriterDataType, and the reference (6.2.3.3) mentions "For non-cyclic PublishedDataSets, like PublishedEvents, that provide event based DataSets, the value shall be 0". I'm wondering how to publish delta frame of the dataStore. I tried setting KeyFrameCount to 0, which didn't change the publisher behavior.

 

Hope someone here can have insight about it. Thank you very much!

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
05/27/2021 - 00:24
sp_Permalink sp_Print

Are you using the preview of the UA PubSub .NET Standard implementation?

Avatar
Hazel S
Member
Members
Forum Posts: 4
Member Since:
05/26/2021
sp_UserOfflineSmall Offline
3
05/27/2021 - 04:41
sp_Permalink sp_Print

Randy Armstrong said
Are you using the preview of the UA PubSub .NET Standard implementation?

  

Yes, I'm using that one to add some modification

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
05/27/2021 - 08:23
sp_Permalink sp_Print

The preview does not support delta frames.

It is a work in progress.

Avatar
Hazel S
Member
Members
Forum Posts: 4
Member Since:
05/26/2021
sp_UserOfflineSmall Offline
5
05/27/2021 - 08:30
sp_Permalink sp_Print

Hi Randy, thanks a lot!

Just to confirm, does preview mean this code base, https://github.com/OPCFoundati.....ETStandard

Thanks again.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
05/27/2021 - 10:03
sp_Permalink sp_Print

Yes, the UAPubSub library is a preview.

Avatar
Hazel S
Member
Members
Forum Posts: 4
Member Since:
05/26/2021
sp_UserOfflineSmall Offline
7
05/27/2021 - 14:22
sp_Permalink sp_Print

What about event based dataset? Is it also the right way to report value changes? I guess it's not in the current UA PubSub .Net library, right?

Thank you!

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
8
05/27/2021 - 16:37
sp_Permalink sp_Print

Does not appear to be there.

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