NodeHandleType.Internal and random variables
Posted: 27 Sep 2013, 15:23
Hello everyone,
I'm a beginner in OPC UA and in C#. I spent last week on reading and trying to crate OPC UA client-server.
I was following to Getting Started manual. I created my own Address Space with Objects and Variables in UaModeler and integrated it into a VS project. I can access and see all things in UA Expert when I am running the solution.
Now I would like to have variables in-memory and update them with some time interval with random values.
I need to us SetVariableConfiguration method and install a NodeHandleType.Internal parameter for all tags according to the manual.
VariableNode variable = SetVariableConfiguration(
new NodeId("SomeString1", InstanceNamespaceIndex),
new QualifiedName("SomeString2", InstanceNamespaceIndex),
NodeHandleType.Internal,
object handleData );
I can not understand what I should use as "object handleData" in this case. Could anyone help me with this?
Thank you in advance.
I'm a beginner in OPC UA and in C#. I spent last week on reading and trying to crate OPC UA client-server.
I was following to Getting Started manual. I created my own Address Space with Objects and Variables in UaModeler and integrated it into a VS project. I can access and see all things in UA Expert when I am running the solution.
Now I would like to have variables in-memory and update them with some time interval with random values.
I need to us SetVariableConfiguration method and install a NodeHandleType.Internal parameter for all tags according to the manual.
VariableNode variable = SetVariableConfiguration(
new NodeId("SomeString1", InstanceNamespaceIndex),
new QualifiedName("SomeString2", InstanceNamespaceIndex),
NodeHandleType.Internal,
object handleData );
I can not understand what I should use as "object handleData" in this case. Could anyone help me with this?
Thank you in advance.