# Dynamic Array Tag Size Changes

**URL:** <https://forum.inductiveautomation.com/t/dynamic-array-tag-size-changes/55546>\
**Category:** Ignition\
**Created:** [January 31, 2022, 12:40pm UTC](https://forum.inductiveautomation.com/t/dynamic-array-tag-size-changes/55546 "2022-01-31T12:40:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![edward.fowler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/edward.fowler/32/24179_2.png) [@edward.fowler](https://forum.inductiveautomation.com/u/edward.fowler)\
**Post date:** [January 31, 2022, 12:40pm UTC](https://forum.inductiveautomation.com/t/dynamic-array-tag-size-changes/55546/1 "2022-01-31T12:40:39Z")

</div>

Is it possible to change the size of an array tag dynamically, say from a Gateway scoped script or tag value change script?  
`system.tag.configure` - is the how its done? Any other techniques?  
Thank you.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [January 31, 2022, 12:47pm UTC](https://forum.inductiveautomation.com/t/dynamic-array-tag-size-changes/55546/2 "2022-01-31T12:47:14Z")

</div>

Im pretty sure an array always has a dynamic size?  
What are you trying to do?

---

<div class="post-metadata">

**Author:** ![edward.fowler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/edward.fowler/32/24179_2.png) [@edward.fowler](https://forum.inductiveautomation.com/u/edward.fowler)\
**Post date:** [January 31, 2022, 1:14pm UTC](https://forum.inductiveautomation.com/t/dynamic-array-tag-size-changes/55546/3 "2022-01-31T13:14:43Z")

</div>

Hi Victor.  
I have the Ignition OPC Server exposed to a 3rd party OPC Client who reads array tags. Depending on conditions I want to change the size of they array via scripting.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [January 31, 2022, 1:23pm UTC](https://forum.inductiveautomation.com/t/dynamic-array-tag-size-changes/55546/4 "2022-01-31T13:23:28Z")

</div>

> [@edward.fowler](#):
>
> I want to change the size of they array via scripting

like so?

```auto
Array[4]=[0,1,2,3]
=>
Array[6]=[0,1,2,3,0,0]

```

i dont really understand... you can append or change an array to any size. An array has no fixed size here

---

<div class="post-metadata">

**Author:** ![edward.fowler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/edward.fowler/32/24179_2.png) [@edward.fowler](https://forum.inductiveautomation.com/u/edward.fowler)\
**Post date:** [January 31, 2022, 4:24pm UTC](https://forum.inductiveautomation.com/t/dynamic-array-tag-size-changes/55546/5 "2022-01-31T16:24:45Z")

</div>

Yes, like that, but change the size of an Ignition tag, not a Python tag.

---

<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:** [January 31, 2022, 4:26pm UTC](https://forum.inductiveautomation.com/t/dynamic-array-tag-size-changes/55546/6 "2022-01-31T16:26:22Z")

</div>

Ignition array tags don’t have a fixed size - just write a new array value to the tag with a different amount of elements in it.

---

<div class="post-metadata">

**Author:** ![edward.fowler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/edward.fowler/32/24179_2.png) [@edward.fowler](https://forum.inductiveautomation.com/u/edward.fowler)\
**Post date:** [January 31, 2022, 4:31pm UTC](https://forum.inductiveautomation.com/t/dynamic-array-tag-size-changes/55546/7 "2022-01-31T16:31:37Z")

</div>

Thanks for clarification, Kevin.
