Need Help Filtering Specific Subset of Nodes in OPC UA.NodeSet2.XML|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Need Help Filtering Specific Subset of Nodes in OPC UA.NodeSet2.XML
Avatar
Jonas Kutz
Member
Members
Forum Posts: 3
Member Since:
05/31/2023
sp_UserOfflineSmall Offline
1
05/31/2023 - 05:07
sp_Permalink sp_Print

Please understand that I'm new to OPC UA and still learning, so I apologize if my question seems obvious.

I'm working on updating a Python tool that generates a subset of nodes from the NodeSet2 list(s). However, I've encountered a problem with it. Previously, the tool would read multiple files from the older NodeSet2 XML files (such as Opc.Ua.NodeSet2.Part3.xml, Opc.Ua.NodeSet2.Part4.xml, etc.). It would then merge them into a single large XML file and filter out individual nodes that are not needed.

Now, it seems that in the newer versions, there is only one big file called Opc.Ua.NodeSet2.xml (here). To my understanding, this file already contains all the nodes from all the parts merged into one 'mega' file. However, I only need a specific subset of those parts, not all of them.

So my question is: Is there any way to identify which nodes belong to which original XML (specification) part so that I can filter them accordingly?
I haven't been able to find a solution for this, so any explanation or guidance would be greatly appreciated.

Avatar
Randy Armstrong
Admin
Forum Posts: 1445
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
05/31/2023 - 18:16
sp_Permalink sp_Print

There is a tool under development that will allow people to select the profiles they want to support and it with produce a NodeSet with the nodes needed to implement those profiles. A prototyping exists and should be live later this year.

In the meantime you have to take the whole NodeSet.

How are you using it? There are other strategies you can use to reduce the resource consumption.

Avatar
Jonas Kutz
Member
Members
Forum Posts: 3
Member Since:
05/31/2023
sp_UserOfflineSmall Offline
3
06/01/2023 - 05:47
sp_Permalink sp_Print sp_EditHistory

I am new to this project and not really familiar with all the inner workings.
But basically we filter it because the standard requires us to only provide nodes that we actually support, not because of resource constraints.
Now we will try to bridge the gap until the tool is released (we have a few ideas to try), but worst case scenario we will just have to postpone until the tool is available.

Thanks for your help.

Avatar
Romy Ries
New Member
Members
Forum Posts: 1
Member Since:
05/24/2022
sp_UserOfflineSmall Offline
4
10/04/2023 - 03:32
sp_Permalink sp_Print

Are there any news on this toppic?

We at the Technical Univeristy of Munich are developing standardized OPC UA information models for machines of the food and beverage industry and probably have a similiar problem or requirement. 

At the moment we are struggeling to implement our information model because we have in total far more than 1000 Nodes (just for the TypeSystem) because we are use many other CSs and our own information model also brings 900 Nodes. I know there is the possibility to create a reduced NamespaceSubset of all required Namespaces with only the needed types for the instance. But is there a helpful tool to do this in an automated way instead then deleting the types manually?

Thanks a lot for your support!

Romy

Avatar
Randy Armstrong
Admin
Forum Posts: 1445
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
5
10/04/2023 - 20:24
sp_Permalink sp_Print

The tool is in an alpha state and not useful for end users.

Avatar
Jonas Kutz
Member
Members
Forum Posts: 3
Member Since:
05/31/2023
sp_UserOfflineSmall Offline
6
01/24/2024 - 09:33
sp_Permalink sp_Print

Hello again,

I wanted to inquire about the status of the tool. Is it available yet and if not, in what time frame can we expect it to be released?

Regards

Avatar
Randy Armstrong
Admin
Forum Posts: 1445
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
7
01/25/2024 - 00:46
sp_Permalink sp_Print

Unfortunately no progress to report.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 20
Currently Browsing this Page:
2 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1347
Posts: 4567