I ran the ExampleNamespace sample. I can browse the node and return all the nodes correctly. I can run the client read example okay.
But when I run the client to read value of HelloWorld.Dynamic.Double
, it timeout, and the override read function in ExampleNamespace is not called.
// synchronous read request via VariableNode
NodeId nodeId = new NodeId(2, "HellowWorld.Dynamic.Double");
VariableNode node= client.getAddressSpace().createVariableNode(nodeId);
CompletableFuture<DataValue> datavalue = client.readValue(1.0, TimestampsToReturn.Source, nodeId);
DataValue value = datavalue.get();
Did I forget to do anything?