Skip to content
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

Missing inverse references in companion specification #205

Open
keba-uso opened this issue Oct 17, 2022 · 2 comments
Open

Missing inverse references in companion specification #205

keba-uso opened this issue Oct 17, 2022 · 2 comments

Comments

@keba-uso
Copy link
Contributor

This issue is related to the loading of companion nodeset files into the OPC UA server (using open62541). The version of the UA-Nodeset tested:

When nodes in a nodeset are missing inverse references to parent nodes, the following issues appear when trying to load the nodeset to the OPC UA Server:

  • AddNode (NODE_ID): Parent node not found
  • AddNode (NODE_ID): Reference type to the parent not found

The following UA-Nodes specifications have these issues:

While the nodesetLoader loads the nodeset without any critical errors, the problem is that the issued nodes are not browsable within the OPC UA address space (screenshot when testing the server with UAExpert):

image

The open62541 Pythod-based nodeset compiler handles these issues by assuming the reverse direction and always adding the inverse relation: nodeset_compiler.py:176. We should consider adding the same functionality within the nodesetLoader as well. Then these issues should be resolved.

@matkonnerth
Copy link
Collaborator

I've taken a look at the AMLBaseTypes. There is a ParentNodeId specified, but no reference type.
ParentNodeId, but no reference type
in contrast to this variable will be added ParentNodeId, and reference Type

From my point of view this is an issue in the AML nodeset.

@matkonnerth
Copy link
Collaborator

matkonnerth commented Feb 6, 2023

here is the code section which is considering the ParentNodeId:

if (NodesetLoader_isInstanceNode(data)) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants