# Accessing items in a ControlLogix string array

**URL:** <https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [February 8, 2024, 4:35pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447 "2024-02-08T16:35:05Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonhinton56](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jonhinton56](https://forum.inductiveautomation.com/u/jonhinton56)\
**Post date:** [February 8, 2024, 4:35pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/1 "2024-02-08T16:35:05Z")

</div>

I have a string array in a ControlLogix version thirty something. Descriptions[50]. I just need to know how to replace the element number with another tag.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 8, 2024, 4:48pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/2 "2024-02-08T16:48:27Z")

</div>

Please elaborate.

---

<div class="post-metadata">

**Author:** ![jonhinton56](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jonhinton56](https://forum.inductiveautomation.com/u/jonhinton56)\
**Post date:** [February 8, 2024, 4:54pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/3 "2024-02-08T16:54:16Z")

</div>

I have a string array in an AB PLC. The array is Descriptions[50]. A fifty element array. I have another integer value List\_Value. I display the description on a PanelView using Descriptions[List\_Value]. I am new to Ignition and I need to know how to do the same thing in Ignition vision.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 8, 2024, 5:04pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/4 "2024-02-08T17:04:13Z")

</div>

Ok. This is a job for **indirect tag binding**.

You would bring all 50 strings into Ignition as 50 string tags. The tag paths would typically be `Descriptions/_0_` through `Descriptions/_49_`. In the indirect tag binding, you would use `Descriptions/_{1}_` as the primary path, and then supply `{List_Value}` as the expression for substitution #1.

---

<div class="post-metadata">

**Author:** ![jonhinton56](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jonhinton56](https://forum.inductiveautomation.com/u/jonhinton56)\
**Post date:** [February 8, 2024, 6:07pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/5 "2024-02-08T18:07:17Z")

</div>

I keep getting this: Path '{List\_Value}' is not well-formed

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 8, 2024, 6:09pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/6 "2024-02-08T18:09:07Z")

</div>

Please show a screenshot of your indirect tag binding dialog.

(Also, did you already create the integer tag `List_Value` pointing at the PLC's tag?)

---

<div class="post-metadata">

**Author:** ![jonhinton56](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jonhinton56](https://forum.inductiveautomation.com/u/jonhinton56)\
**Post date:** [February 8, 2024, 6:14pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/7 "2024-02-08T18:14:36Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/9/594741723f483a196d8273fe7b3720ca185029a1.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/3/533cf84ba7b1ffef0996bc1d5005fadecdc8308f.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 8, 2024, 6:27pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/8 "2024-02-08T18:27:34Z")

</div>

Ah, yes, in Vision, you need to bring `List_Value` to another property, and use that property in the indirection reference. (Perspective offers a full expression for the reference instead of just a property.)

---

<div class="post-metadata">

**Author:** ![jonhinton56](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jonhinton56](https://forum.inductiveautomation.com/u/jonhinton56)\
**Post date:** [February 8, 2024, 6:33pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/9 "2024-02-08T18:33:02Z")

</div>

When you say another property, do you mean something like a spinner or can it be a memory tag?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 8, 2024, 6:34pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/10 "2024-02-08T18:34:28Z")

</div>

No, just a custom property on a component or container. You generally should not use memory tags for this sort of UI stuff because then all simultaneous clients are forced to have the same live value.

(Have you completed the Inductive University lessons? They cover all the architectural basics.)

---

<div class="post-metadata">

**Author:** ![jonhinton56](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jonhinton56](https://forum.inductiveautomation.com/u/jonhinton56)\
**Post date:** [February 8, 2024, 6:37pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/11 "2024-02-08T18:37:21Z")

</div>

I have been through most of them. I just started on this stuff Monday.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 8, 2024, 6:38pm UTC](https://forum.inductiveautomation.com/t/accessing-items-in-a-controllogix-string-array/85447/12 "2024-02-08T18:38:36Z")

</div>

Your eyes must be bugging out. There's 80+ hours of lessons, IIRC.
