Problem with read DataType #1442
AppleCitron
started this conversation in
General
Replies: 1 comment 9 replies
-
I think what you're seeing is that the server has set the DataType of these Nodes to Max age of |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there, I'm having some issues with my Milo and was hoping you could help me out.
The code snippet below is requesting the DataTypes of NodeId List.
When I request a certain DataType from the Client to the Server, I receive a response in VariantType. Upon checking with the Server, it seems that the Node's DataType is set as UInt32.
Other types are being read correctly, but I'm receiving incorrect responses for some Types and would like your assistance. Also, I was wondering how I should go about setting the first argument, maxAge, in the read function?
for (String localTagListKey : localTagList.keySet()) {
readNodeIds.add(localTagList.get(localTagListKey).createNodeId());
}
List dataValues = client.read(0.0, TimestampsToReturn.Both, readNodeIds, Collections.nCopies(readNodeIds.size(), AttributeId.DataType.uid())).get();
Beta Was this translation helpful? Give feedback.
All reactions