Writing to the server
Posted: 05 Aug 2021, 09:18
From the tutorial documentation, http://documentation.unified-automation.com/uasdknet/3.0.10/html/L3ServerTutGSLess03.html#L4ServerTutGSLess03Step03, we are told
The question is how do we do that?
Looking at the APIs exposed, I see that there are `Write` methods but there are many of them and it's not clear if they will achieve what I want to achieve.
So my scenario is as follows:
Assuming that we are using the Information Model from https://www.unified-automation.com/downloads/webinars/net-applications.html, what do we have to do in order to write to the OPC UA Server assuming that the source is something we have "control" over.
For instance, I want to go over each record in an Access dB and then write the values into the OPC UA server. The first part i.e. going over each record and extract the relevant data is what we have "control" over. The question is how do I then write the data from the source into the OPC UA Server?
.If the source of the real time data delivers data changes through an event based mechanism, the connection to the data source is very simple. The only thing that needs to be implemented is the update the value of the Variable node if a data change arrives for this variable. All the read and data monitoring is already handled by the SDK.
The question is how do we do that?
Looking at the APIs exposed, I see that there are `Write` methods but there are many of them and it's not clear if they will achieve what I want to achieve.
So my scenario is as follows:
Assuming that we are using the Information Model from https://www.unified-automation.com/downloads/webinars/net-applications.html, what do we have to do in order to write to the OPC UA Server assuming that the source is something we have "control" over.
For instance, I want to go over each record in an Access dB and then write the values into the OPC UA server. The first part i.e. going over each record and extract the relevant data is what we have "control" over. The question is how do I then write the data from the source into the OPC UA Server?