I'd like to add array of variable, but i can't get a result in UaExpert.
I create a UaNodesetXmlParserUaNode using the pre-created xml file and add it to the UaServerApplication.
For example, I've written UaVariable as below. But i can't read and write all of values (i can read just one value({0})
How can i constitute array of variable if i want to add array of bytes? Please check my question and reply.
Actually I can't get ArrayDimensions from UaVariant in ReadValues()
- Example of XML
<DisplayName>OPC_INPUT</DisplayName>
<Description></Description>
<References>
<Reference ReferenceType="HasTypeDefinition">i=63</Reference>
<Reference ReferenceType="Organizes" IsForward="False">ns=1;s=LSPLC.GlobalVariable</Reference>
</References>
<Extensions>
<Extension>
<DeviceInformation Device="A" Address="4194236" Type="2" Size="1"/>
</Extension>
</Extensions>
</UAVariable>
- Result of UaExpert
[0] : 0
ValueRank : 1 (OneDimension)
ArrayDimensions : UInt32 Array[1]
[0] : 7