![Avatar](https://opcfoundation.org/wp-content/uploads/sp-resources/forum-avatars/defaults/userdefault.png)
02/10/2017
![sp_UserOfflineSmall](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_UserOfflineSmall.png)
Hi,
When we browse for the variable reference, by checking the value rank we will come to know that the variable is of array type or scalar type.
For Array type, some servers provide the array dimensions properly but some servers provide null for the array dimensions. In this case, how to identify the Array Dimension?
Regards,
Vinoth
![Avatar](https://opcfoundation.org/wp-content/uploads/sp-resources/forum-avatars/defaults/guestdefault.png)
Some Servers cannot expose the array dimensions, because they vary or because the Server is front-ending a system that does not provide this meta information.
In that case the Client will get the dimensions only when reading the Value Attribute. UA Part 6 specifies how a Variant with multi-dimensional arrays is encoded on the wire. The mapping to a comparable Variant structure in a stack is performed different depending on the language (e.g. AnsiC, C# or Java).
1 Guest(s)