Replies: 2 comments 6 replies
-
|
I'm not following what you are trying to do... You register your extension object, then import XML that has nodes using this extension object with values, but it isn't importing? Example code would be useful here. |
Beta Was this translation helpful? Give feedback.
6 replies
-
|
So far no updates? |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everyone,
as in https://github.com/FreeOpcUa/python-opcua/blob/master/tests/tests_enum_struct.py, it is possible to import a NodeSet and register an extension object for a Structure Type, then writing values.
But what about reading/importing predefined structure instances?
I have added a NodeSet "enum_struct_test_readpredefined.xml" and import it AFTER importing and registering the extension class for "enum_struct_test_nodes.xml".
At the end I want this predefined structure loaded and accessible for UA Clients:
I have tried it but it seems like it is not supported at all.
I debugged with my mediocre python skills and added some possible fixes e.g.
setattr(uatypes.VariantType, 'ExampleEnum', ExampleEnum)but one fix leads to another issue...
Can someone tell me if this has ever been tried and how it should look like?
NodeSet and Code Examples in the ZIP file:
nodesets.zip
Beta Was this translation helpful? Give feedback.
All reactions