Hi Community,
I am new to Mapp View and am trying to associate a few widgets with values that are stored in a struct at a specific index of an array (an array of structs). I have enabled the tags to the array containing the structs in the OPCUA .uad config file. I see the array tag option available in the menu when trying to bind to my widget (text output), but I still cannot bind to the array or choose a specific element of the array.
I have also tried binding another widget (text input) to a struct member from a struct that is not stored in an array, and this was unsuccessful as well. The struct appears in the binding pop up menu, but none of its members appear despite enabling tagging of the members as well.
Has anyone else here had to implement a similar situation and was successful at the attempt? How did you do it?
Thanks in advance!
Jessy, welcome back 
Sounds like you are just missing an additional step that enables each array element as it’s own variable.
When you enable an array only the array is enabled. You can see the difference in the screen shot below. Both arrays are part of a structure and are enabled but only the GearRatio has all its elements exposed in OpcUa, indicated by the ! on the node

In order to enable all elements, right click the array node and select, Automatic Enable > Recursive
If you use UaExpert you can see the difference as well.
GearRatio each array element is selectable, while GearRatioRefDist is only selectable as a single array node.
Hi Marcel,
Thanks for all the help lately.
You were right about the missing step. After following your instructions, I now see the array elements available and tagged in the configuration instead of only the overarching array.
I thought this might’ve been all I needed for the first issue, but I am still having trouble accessing it on the visualization page. I am trying to use the mappview “TextOutput” field to display a single variable associated with a specific struct in the array (for example, bottle 0’s content). I’m not sure if maybe the field does not support it or it’s still a configuration issue, but I do not see the “content” member as an option for binding.
Jessy,
from the looks of it you don’t have a STRING type member in your structure and that’s why mappView won’t show you any variable to connect the TextOutput with!
You can see the DataType filter for “String” in the top left of the second screen shot but you only have USINT variables.
What are you trying to do with the TextOutput and that structure / variables? What are you trying to display? Maybe there is a different option.
Thanks Marcel!
That was the missing piece of the puzzle. I am trying to display numerical data, so I probably should’ve used numerical input/output widgets.
Glad to hear you were able to figure it out with my input and yes mappView is specific about variable bindings.
Take care!