-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The value.nodeid method returned by the read function returns Nil #772
Comments
I would need a bit more context to understand the problem. Did you check the Did you have a look at https://github.com/gopcua/opcua/blob/main/examples/read/read.go ? |
At present, when I want to determine which nodeid it is, I can only judge it by the array address. |
@mijjjj Could you please provide your ReadRequest, in particular the If you are requesting attribute values from multiple NodeIds, the ReadResponse provides an array of DataValues (one per requested NodeId and Attribute). None of the DataValues contains information about the NodeId or AttributeId from which it has been read, so you need to associate the returned DataValues with the If you mean a variable of DataType = NodeId and being a single dimension array, that works fine and delivered the expected nodeId values (just tested it) |
The value.nodeid method returned by the read function returns Nil, which makes it impossible for me to locate the value I get back after sending multiple nodeids.
The text was updated successfully, but these errors were encountered: