# Binding to View Custom Property

**URL:** <https://forum.inductiveautomation.com/t/binding-to-view-custom-property/44611>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 18, 2021, 6:17am UTC](https://forum.inductiveautomation.com/t/binding-to-view-custom-property/44611 "2021-03-18T06:17:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert.zapalski](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@robert.zapalski](https://forum.inductiveautomation.com/u/robert.zapalski)\
**Post date:** [March 18, 2021, 6:17am UTC](https://forum.inductiveautomation.com/t/binding-to-view-custom-property/44611/1 "2021-03-18T06:17:43Z")

</div>

Struggling with a binding.

I have an Custom Property that is an object. The base object is bound to a OPC tag w/ Bidirectional. Tag is a UDT type. I am able to read and write all elements of the object except 1 which is an array. I am unable to write to this value from a script or by manually setting a value in the Perspective Property Editor. I can change the online value of the OPC tag from my PLC and see it change in the Property Editor, but unable to write. Is some Bidirectional control being lost after nesting 2 objects deep?

self.view.custom.robot.ocmd\_command.cmd\_args[]

---

<div class="post-metadata">

**Author:** ![robert.zapalski](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@robert.zapalski](https://forum.inductiveautomation.com/u/robert.zapalski)\
**Post date:** [March 18, 2021, 6:21am UTC](https://forum.inductiveautomation.com/t/binding-to-view-custom-property/44611/2 "2021-03-18T06:21:38Z")

</div>

maybe issue with array…as another another element in the object doesn’t seem to take on bidirectional control.

self.view.custom.robot.robot.MoveArgs[]

(i know…robot.robot is really original).

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [March 18, 2021, 8:08am UTC](https://forum.inductiveautomation.com/t/binding-to-view-custom-property/44611/3 "2021-03-18T08:08:38Z")

</div>

Hi @robert.zapalski, are you able to post some images/examples of what you are seeing?

---

<div class="post-metadata">

**Author:** ![robert.zapalski](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@robert.zapalski](https://forum.inductiveautomation.com/u/robert.zapalski)\
**Post date:** [March 18, 2021, 1:28pm UTC](https://forum.inductiveautomation.com/t/binding-to-view-custom-property/44611/4 "2021-03-18T13:28:09Z")

</div>

- robot is a custom property with tag binding
- **robot.ocmd\_command.cmd\_args[]** is an array within the object.
- If I try to change the value of cmd\_args[0] in the Property Editor, the value remains unchanged.
- If I try to change the value of **robot.ocmd\_command.cmd** (similar object path to value), value changes as expected

Verified:

- PLC is not constantly writing to the PLC tag. Changing online value in the PLC is seen in the property editor.

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

---

<div class="post-metadata">

**Author:** ![robert.zapalski](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@robert.zapalski](https://forum.inductiveautomation.com/u/robert.zapalski)\
**Post date:** [March 18, 2021, 1:36pm UTC](https://forum.inductiveautomation.com/t/binding-to-view-custom-property/44611/5 "2021-03-18T13:36:39Z")

</div>

Just found one interesting thing. Running into bad quality on my tag when trying to write, but otherwise quality is good.

QUALITY GOOD - VALUE MATCHES PLC  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/4/64a2da4feccf330e41f56f5ae1cf587e94241f44.png)

After trying to change a value in my Tag Browser…prompted with this.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/2/f2eda98e04e7360e72873fb05bfd5eda0638389e.png)

Created a simple array tag by directly dragging and dropping from OPC Browser into Tag Browser. Same issue.

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [March 18, 2021, 1:56pm UTC](https://forum.inductiveautomation.com/t/binding-to-view-custom-property/44611/6 "2021-03-18T13:56:07Z")

</div>

Hi @robert.zapalski, what version of Ignition are you running? It’s a slightly different error but could it be related to [this](http://forum.inductiveautomation.com/t/array-tag-writing-bad-notfound/29891)?

---

<div class="post-metadata">

**Author:** ![robert.zapalski](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@robert.zapalski](https://forum.inductiveautomation.com/u/robert.zapalski)\
**Post date:** [March 18, 2021, 5:49pm UTC](https://forum.inductiveautomation.com/t/binding-to-view-custom-property/44611/7 "2021-03-18T17:49:14Z")

</div>

v8.1.1

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [March 18, 2021, 8:02pm UTC](https://forum.inductiveautomation.com/t/binding-to-view-custom-property/44611/8 "2021-03-18T20:02:19Z")

</div>

@robert.zapalski that’s definitely an odd one. I would suggest looking at read/write security but you have already suggested that you can read/write on other tags.

Unfortunately, I don’t have a setup I can test on right now to replicate the issue. Sorry I couldn’t help any further, hopefully someone else on here may be able to assist better.

---

<div class="post-metadata">

**Author:** ![robert.zapalski](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@robert.zapalski](https://forum.inductiveautomation.com/u/robert.zapalski)\
**Post date:** [March 19, 2021, 5:17am UTC](https://forum.inductiveautomation.com/t/binding-to-view-custom-property/44611/9 "2021-03-19T05:17:18Z")

</div>

I will try to get some more screenshots tomorrow. But what I learned today.

- Still unable to change a value from the Tag Browser or from a Customer Property with binding. Keep getting an error.
- If i log into the OPC server…when trying to make a write, I get an error that it is a bad or incorrect data type. Array of Single.
- If i perform an Button Event and write with system.tag.write…everything works as expected. New values are written to the PLC.
