OPC UA PubSub MonitoredItem to PublishedDataSetDataType|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
OPC UA PubSub MonitoredItem to PublishedDataSetDataType
Avatar
Henrik Bjørnland
New Member
Members
Forum Posts: 1
Member Since:
10/31/2022
sp_UserOfflineSmall Offline
1
11/28/2022 - 08:20
sp_Permalink sp_Print

Hey, I am fairly new to the whole PubSub concept but am currently trying to implement the .Net SDK and make it work.

 

I have an OPC UA Server, that I have connected to an UA Client and subscribed to some data, but that data is in the form of a MonitoredItem, what I now want to do is to map it to a PublishedDataSet and send it over MQTT. Are there any easy way to this or do I need to create a new PublishedDataSetDataType from the MonitoredItem?

 

I Just assume this is the way I should be going as in the 'UA Specification part 14 - PubSub' it states "A PublishedDataSet is similar to either an Event MonitoredItem or a list of data MonitoredItems in the Client Server Subscription model."

Avatar
Randy Armstrong
Admin
Forum Posts: 1568
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
11/29/2022 - 14:33
sp_Permalink sp_Print

A PublishedDataSet is equivalent to a NotificationMessage however the mechanism for defining a PublishedDataSet is quite different.

A complete working example of using NETStandard to send via MQTT is here:
https://github.com/OPCF-Member.....StarterKit

If you are not an OPC Foundation member an older version of the same code is here:
https://github.com/OPCFoundati.....StarterKit

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