-
Notifications
You must be signed in to change notification settings - Fork 96
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
Error trying to compile the LADS nodeset #159
Comments
Can I get the files for testing? |
Of course, sorry for not including them earlier. Here is the list of models I'm using: I haven't updated the models recently... I don't know if they changed. I've also used this command (which seems more appropriate for multiple nodesets) but it gives me the same issue.. |
In SensingModule.NodeSet2.xml you have Node ns=5;i=5171 with component ns=5;i=5004 which is owned by ns=5;i=1000. Conceptually this is not wrong but the ModelCompiler can't deal with it because it has to reconstruct the implicit hierarchy using the ParentNodeId attribute. There are other examples of technically valid NodeSets that cannot be ingested by the ModelCompiler because of the strict hierarchy imposed by the ModelDesign schema. It may be possible to fix this particular issue but it will take more time. |
I'm currently facing some issue compiling a nodeset from the UA-Nodeset repository, the LADS one.
I'm trying to build a representation of our laboratory instrument using this nodeset, but before I can even compile my XML, the model compiler is having issue with the LADS nodeset.
I'm running the following command :
compile -d2 C:\dev\Firmware.SensingModule\SensingController\NodeSet\Opc.Ua.LADS.NodeSet2.xml -d2 C:\dev\Firmware.SensingModule\SensingController\NodeSet\Opc.Ua.AMB.NodeSet2.xml -d2 C:\dev\Firmware.SensingModule\SensingController\NodeSet\Opc.Ua.Machinery.NodeSet2.xml -d2 C:\dev\Firmware.SensingModule\SensingController\NodeSet\Opc.Ua.Di.NodeSet2.xml -version v105 -o2 .\output
And getting the following error:
The LADS nodeset depends on the AMB, Machinery and DI nodesets, which compile just fine.
Is there something I'm missing? (I'm trying to understand the exception, but the node in question "Default XML" and its reference looks ok..
The text was updated successfully, but these errors were encountered: