# OPC-UA array tags

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-array-tags/10594>\
**Category:** Ignition\
**Created:** [October 8, 2015, 7:30pm UTC](https://forum.inductiveautomation.com/t/opc-ua-array-tags/10594 "2015-10-08T19:30:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [October 8, 2015, 7:30pm UTC](https://forum.inductiveautomation.com/t/opc-ua-array-tags/10594/1 "2015-10-08T19:30:17Z")

</div>

Hello,  
since 7.8 finally supports arrays, i tried to define an opc tag from an OPC-UA array tag. This did not work because Ignition seems to convert the incoming array to an String (like it did before 7.8 ).  
Will OPC-UA arrays be supported in the final 7.8 release?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 8, 2015, 8:06pm UTC](https://forum.inductiveautomation.com/t/opc-ua-array-tags/10594/2 "2015-10-08T20:06:53Z")

</div>

It’s not going to make it into 7.8.0, but hopefully soon after.

Edit: I think it might work if you manually change a tags datatype to be array, though. But the drag n’ drop of an array tag into Ignition doesn’t work, as you saw.

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [October 9, 2015, 7:33pm UTC](https://forum.inductiveautomation.com/t/opc-ua-array-tags/10594/3 "2015-10-09T19:33:58Z")

</div>

> [@Kevin.Herron](#):
>
> I think it might work if you manually change a tags datatype to be array, though. But the drag n' drop of an array tag into Ignition doesn't work, as you saw.

Thank you for this info. Manually changing the tags datatype to array works ![:thumb_left:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e26afb081ddde6df016df6ee49159cf56aaca688.gif ":thumb\_left:") .

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [October 11, 2015, 10:49am UTC](https://forum.inductiveautomation.com/t/opc-ua-array-tags/10594/4 "2015-10-11T10:49:47Z")

</div>

> [@chi](#):
>
> Manually changing the tags datatype to array works.

This works correct only for signed numeric types. Unsigned types (UInt16, UInt32...) are treated as Strings by Ignition. This is no problem for scalar values (the string can be coerced to Int without problem), but an unsigned array can only be converted to an array of String.  
It would be better if Ignition would use the next bigger signed type (UInt16-\>Int32, UInt32-\>Int64). Only an UInt64 really needs to be treated as a string.  
Alternatively it should be possible to coerce the single components of an array.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 11, 2015, 4:31pm UTC](https://forum.inductiveautomation.com/t/opc-ua-array-tags/10594/5 "2015-10-11T16:31:54Z")

</div>

> [@chi](#):
>
> [quote="chi"]Manually changing the tags datatype to array works.

This works correct only for signed numeric types. Unsigned types (UInt16, UInt32...) are treated as Strings by Ignition. This is no problem for scalar values (the string can be coerced to Int without problem), but an unsigned array can only be converted to an array of String.  
[/quote]

That's not surprising to hear. I think I know where support needs to be added, though.

Support for array tag types was a last minute "bonus" feature Colby implemented. So while it's neat that it's technically possible now, there wasn't any time to build the proper integrations with other Ignition sub-systems... which makes the experience as a whole pretty unpolished 😢

Hopefully by 7.8.1 or 7.8.2 the integration will be a little bit better.
