TreeView in mappView

Hi Everyone,

I’m working on the project where customer has the requirement to have a TreeView on multiple levels (10) where each level can have up to 64 sublevels and so on… You can think about the object browsing in UAExpert. This is very complex to design in an compound widget (thought nested GroupBoxes with toggle buttons) and I was wondering if anyone already encountered this challenge and can give me a hint how to approach this.

PS: There is a TreeView Widget in AS 6 Engineering sample but not usable right now and only meant for folder/file structure..

Thanks!

Hi, what is the status of this topic, have you found solution for you?

Hi @kovarj,

I’m in contact with mappView PM regarding this. Most likely I’ll have to study a possible implementation in WTDC.

WDTC (Widget Development Tool Chain) is something I have high expectations for. Filipe, I know that you are an expert. Can you share your solution with us later, at least the general concept? That would be cool and appreciated by the community :slight_smile:

Hi @filipe.costa , I moved your question from the general forum to this new category because you were advised to use WDTC. Have you had time to get some experiences with WTDC you can share with us?

Hi @kovarj,

Unfortunately not yet. For the TreeView we could find a much more simple solution for customer!

Thanks for asking!

1 Like

Hi @filipe.costa

I could take a look at a TreeView widget if you want, just a question about it, for inputs data it’s a formated file like JSON or XML ? Did the configuration of the Tree could change during runtime ?

Regards,
Florent

HI @florent.boissadier,

The idea was to have a tree view like in Ua Expert to browse through the nodes and select one node as source for a gauge data display.

  • Inputs => result of the UA_Browse FUB of Library AsOpcUac (AR 6.X)

Yes the configuration of the tree view can change during runtime depending on the parent node you click on it will browse and display its childs and so on on multiple levels

A breadcrumb should then help to see how deep we are on the tree view.

Regards,

Filipe

Hi,

Ok so you want a OPC UA Browser widget, where you can select a node and get the nodeId with :

  • namespace
  • identifier type (interger, string …)
  • identifier (example “::AsGlobalPV:testvar”)

Is this widget is for an B&R OpcUa server or for generic OpcUa servers ?

1 Like

Hi @florent.boissadier,

In customer use case the purpose was to browse and select nodes on an third party Opc Ua Server.

As I said we decided together with customer a simpler approach with one level tree view. But if you decided to make your own Treeview multi levels that would be awesome for the B&R Community.

Regards,

Filipe

1 Like

Looking forward to see solution using WDTC @florent.boissadier :slight_smile:

1 Like