Page 1 of 1

Using a KeyValuePair Variable in UaModeler

Posted: 14 Aug 2019, 15:24
by DennisB
Hello support forum.

name of the product: UaModeler
version number: 1.6.2.431
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
Dennis

Re: Using a KeyValuePair Variable in UaModeler

Posted: 04 Sep 2020, 15:08
by Support Team
Hello,

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.