OPC HDA Subscribe to data change|Classic OPC: DA, A&E, HDA, XML-DA, etc.|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 HDA Subscribe to data change
Avatar
Ildar MIndiyarov_1
Member
Members
Forum Posts: 3
Member Since:
06/27/2023
sp_UserOfflineSmall Offline
1
07/13/2023 - 00:12
sp_Permalink sp_Print

Can I subscribe to data changes from the HDA server in my HDA client? For example if I want to automatically get new data from the start timestamp to the present. I use C# and OpcNetApi.dll. By analogy in DA I can create subscription and subscribe to DataChanged event or create monitored item in UA with UA-.NETStandard libs.In the HDA specification, I found only such words in the section of asynchronous interfaces:
"It can ‘subscribe’ to data using the Async methods, which is more complex but very efficient. This is the recommended behavior for interactive clients because it will minimize display lockups. The client would be free to process other interactions while waiting for the data to return"

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
07/13/2023 - 15:45
sp_Permalink sp_Print

If you want current data then the DA interfaces are the only reliable way to get it.

HDA servers are usually distributed with DA servers that provide access to the same tags.

In some cases, the ItemIDs are the same for both servers. In others, there is a HDA method that provides the mapping to the DA itemIDs.

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