05/29/2018
I am developing a C# Application with the .NET Stack (.NET 6). I am trying to read UDTs from a Siemens PC OPC UA server. I followed the Sample in the C# project UA Sample Applications but I have the problem, that the DataValueCollection returned only contains a Byte array. When I use the sample client I get an array with the nested values. What do I have to do to read the data in the same structured way as the sample application? Below you can see the debug information from the breakpoint in the sample application and from my application. You can see the difference in the debug information.
UA Sample Client:
My Client:
Currently I have no idea how to solve that. Is there a method that I have to call in advance to let the server know that I want to have structured data?
Do I need to download some UDT definitions to the client in advance? Are there any points that I am missing?
If more information is needed please let me know.
1 Guest(s)