Using a KeyValuePair Variable in UaModeler

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
Jr. Member
Jr. Member
Posts: 2
Joined: 06 Sep 2018, 12:53

Using a KeyValuePair Variable in UaModeler

Post by DennisB »

Hello support forum.

name of the product: UaModeler
version number:
operating system Windows 10

I'm trying to use a Variable from the DataType KeyValuePair in my Information Model. This Variable should be ReadOnly and should have a Value.

Question: How can I write a Value to one Variable from a DataType KeyValuePair in UaModeler.
Until now I could only set the Key Value, but not the Value Value, because this field is not writable in UaModeler.
I tried to use this Variable in different ValueRank modes (Scalar, OneDimention etc), but it was not possible to set the Value of the Value Field.

Thank you in advance for your Help

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

Re: Using a KeyValuePair Variable in UaModeler

Post by Support Team »


The OPC UA DataType KeyValuePair is a structured DataType consisting of the fields
[*]Key with DataType QualifiedName
[*]Value with DataType BaseDataType

Unfortunatelly there is currently writing values for DataType BaseDataType is not supported.
Best regards
Unified Automation Support Team

Post Reply