How to handle structure change on opc server #1631
michalkelnar
started this conversation in
General
Replies: 2 comments 3 replies
-
|
Call |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
@michalkelnar I think you can accomplish this reset right now by doing something like: // reset DataTypeTree
client.readDataTypeTree();
// reset dynamic DataTypeManager
client.setDataTypeManagerInitializer(new DefaultDataTypeManagerInitializer());a little clunky, but will work until something better is available. |
Beta Was this translation helpful? Give feedback.
0 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.
-
I am using milo 1.0.6 and reading structure from opc server with DataTypeDefinition converting it to DynamicStructType and then processing it further. This structure is not known to me ahead of time and can be changed dynamically while we are connected to the server. When it changes I get an error during decode. Is there a way how to force milo to reload all DataTypeDefinition codecs without reconnection?
Beta Was this translation helpful? Give feedback.
All reactions