Search code examples
c#serveropc-uaopc

Is there any way to export the model from the OPC server?


I am creating an OPC server using the .net standard. I have already added functions to it that allow me to dynamically add new objects and variables, now I would like to implement a function that will export current model from the server and save it. I want to know if there is any built-in solution to my problem? Looking through the opc example projects I have not come across any answer.


Solution

  • You have the model somehow stored. You load it to the server. Then you add new items to the server. At this place you need to add these items to the model too and update model's storage.