Icons for nodes of FolderType
Moderator: uaexpert
-
- Sr. Member
- Posts: 12
- Joined: 26 Feb 2015, 21:49
Icons for nodes of FolderType
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)?
-
- Hero Member
- Posts: 73
- Joined: 15 Feb 2012, 21:43
Re: Icons for nodes of FolderType
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)
thus the UAExpert may use the Icon of an Object and not a folder (which shall have no EventNotifier)
-
- Sr. Member
- Posts: 12
- Joined: 26 Feb 2015, 21:49
Re: Icons for nodes of FolderType
Nope, does not help
-
- Hero Member
- Posts: 73
- Joined: 15 Feb 2012, 21:43
Re: Icons for nodes of FolderType
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...
- 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...
-
- Sr. Member
- Posts: 12
- Joined: 26 Feb 2015, 21:49
Re: Icons for nodes of FolderType
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?
-
- Hero Member
- Posts: 73
- Joined: 15 Feb 2012, 21:43
Re: Icons for nodes of FolderType
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
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
-
- Sr. Member
- Posts: 12
- Joined: 26 Feb 2015, 21:49
Re: Icons for nodes of FolderType
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?
-
- Hero Member
- Posts: 73
- Joined: 15 Feb 2012, 21:43
Re: Icons for nodes of FolderType
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 ?
It worked well.
Did you try each one of the possibility I gave you ?
-
- Sr. Member
- Posts: 12
- Joined: 26 Feb 2015, 21:49
Re: Icons for nodes of FolderType
yes i did (except probably of the rebooting), I do need Server->ServerStatus and Server->NamespaceArray though
-
- Hero Member
- Posts: 73
- Joined: 15 Feb 2012, 21:43
Re: Icons for nodes of FolderType
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]
My unofficial AddressSpace is looking like that and working with most OPC UA Clients.
[img]addressSpace.png[/img]
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: Icons for nodes of FolderType
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
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
-
- Hero Member
- Posts: 73
- Joined: 15 Feb 2012, 21:43
Re: Icons for nodes of FolderType
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.
-
- Sr. Member
- Posts: 12
- Joined: 26 Feb 2015, 21:49
Re: Icons for nodes of FolderType
Thank you support team, the problem was in the faulty browse service response!