Icons for nodes of FolderType

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
Stasik0
Sr. Member
Sr. Member
Posts: 12
Joined: 26 Feb 2015, 21:49

Icons for nodes of FolderType

Post by Stasik0 »

We explore our own stack (http://open62541.org) with UaExpert, unfortunately the icon of Root->Objects (id 0,85) is not a folder eventhough HasTypeDefinition is set to "FolderType". What are the criteria of displaying a folder icon like its done for Root (id 0,84)?

cacamille3
Hero Member
Hero Member
Posts: 73
Joined: 15 Feb 2012, 21:43

Re: Icons for nodes of FolderType

Post by cacamille3 »

Hey I guess the problem is that your Objects Node (NodeId=85) has SubscribeToEvents and HistoryRead as EventNotifier,
thus the UAExpert may use the Icon of an Object and not a folder (which shall have no EventNotifier)

Stasik0
Sr. Member
Sr. Member
Posts: 12
Joined: 26 Feb 2015, 21:49

Re: Icons for nodes of FolderType

Post by Stasik0 »

Nope, does not help :(

cacamille3
Hero Member
Hero Member
Posts: 73
Joined: 15 Feb 2012, 21:43

Re: Icons for nodes of FolderType

Post by cacamille3 »

Some stuff you could also try :
- Verify that Root has an Organizes Reference to Objects, Views and Types
- Try to delete all the sub nodes of Objects, Views and Type
- Verify that Objects, Types and Views only have Organizes and HasTypeDefinition has forward References
- Try to delete all the Inverse References of this 3 nodes.
- Restart the software since this may be cached (even try restart the PC)
- Try with Windows version...

Stasik0
Sr. Member
Sr. Member
Posts: 12
Joined: 26 Feb 2015, 21:49

Re: Icons for nodes of FolderType

Post by Stasik0 »

Could you please clarify this "- Verify that Objects, Types and Views only have Organizes and HasTypeDefinition has forward References", which references do I have to provide?

cacamille3
Hero Member
Hero Member
Posts: 73
Joined: 15 Feb 2012, 21:43

Re: Icons for nodes of FolderType

Post by cacamille3 »

In the references windows (right-down) you could display Forward/Inverse or Both References.
By default UAExpert shows only Forward.
Select Both or Inverse and Refresh.
Verify that there is not some strange inverse References that maybe lead to the false icon...
PS: I am not from Unified Automation but I tested a lot UAExpert when I developped my own OPC UA Server/Client

Stasik0
Sr. Member
Sr. Member
Posts: 12
Joined: 26 Feb 2015, 21:49

Re: Icons for nodes of FolderType

Post by Stasik0 »

hmm, can not find the problem, well, may the problem be that we do not construct the whole NS0? Did you have experience with this?

cacamille3
Hero Member
Hero Member
Posts: 73
Joined: 15 Feb 2012, 21:43

Re: Icons for nodes of FolderType

Post by cacamille3 »

For tests i also worked with an OPC UA Server not building the entire NodeSet.
It worked well.
Did you try each one of the possibility I gave you ?

Stasik0
Sr. Member
Sr. Member
Posts: 12
Joined: 26 Feb 2015, 21:49

Re: Icons for nodes of FolderType

Post by Stasik0 »

yes i did (except probably of the rebooting), I do need Server->ServerStatus and Server->NamespaceArray though

cacamille3
Hero Member
Hero Member
Posts: 73
Joined: 15 Feb 2012, 21:43

Re: Icons for nodes of FolderType

Post by cacamille3 »

Yes those nodes are mandatory for many OPC UA Clients.
My unofficial AddressSpace is looking like that and working with most OPC UA Clients.
[img]addressSpace.png[/img]

User avatar
Support Team
Hero Member
Hero Member
Posts: 3072
Joined: 18 Mar 2011, 15:09

Re: Icons for nodes of FolderType

Post by Support Team »

Hello Stasik0,

there is no problem in UaExpert with displaying the folder icon if the server provides correct browse results as specified by the OPC UA specification. This is definitely a problem in your server which you need to investigate by yourself, as it is not a product of Unified Automation. This forum is a support forum for Unified Automation products only.

Please be aware that the first answer of cacamille3 is wrong: folders might as well have the EventNotifier attribute set to SubscribeToEvents, there is no such restriction in the OPC UA specification. Also, inverse references have nothing to do with this issue.

This thread will be closed.

Best regards
Support Team

cacamille3
Hero Member
Hero Member
Posts: 73
Joined: 15 Feb 2012, 21:43

Re: Icons for nodes of FolderType

Post by cacamille3 »

As I wrote I only guessed that UAExpert was interpreting the fact of having a Reference HasTypeDefinition to FolderType and EventNotifier set to something as an Object and not a Folder Object.

Stasik0
Sr. Member
Sr. Member
Posts: 12
Joined: 26 Feb 2015, 21:49

Re: Icons for nodes of FolderType

Post by Stasik0 »

Thank you support team, the problem was in the faulty browse service response!

Post Reply