Im trying to implement the OPC UA tool in an existing csharp application writen using the c style API. But im running into some problems as there is only documentation for the C++ and python API.
Its pretty simple what I want to do; just a single node needs to be exposed to an external client;
OpcUaServer server = new OpcUaServer(4840); ServerFloatNode node = new ServerFloatNode(1, "basenode", VariableType.DataVariable, server.Nodes.RootFolder); node.Value = 100; server.Nodes.Add(node); server.Start();
This gets me a node with the correct name, but it seems like it doesn’t have the correct type. When looking at the node in question it has string listed as its type, and no value associated to it. What did I miss?