# Designer show the correct function but Vision show another thing

**URL:** <https://forum.inductiveautomation.com/t/designer-show-the-correct-function-but-vision-show-another-thing/83414>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [December 21, 2023, 9:18am UTC](https://forum.inductiveautomation.com/t/designer-show-the-correct-function-but-vision-show-another-thing/83414 "2023-12-21T09:18:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguel\_Cimildoro](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@Miguel\_Cimildoro](https://forum.inductiveautomation.com/u/Miguel_Cimildoro)\
**Post date:** [December 21, 2023, 9:18am UTC](https://forum.inductiveautomation.com/t/designer-show-the-correct-function-but-vision-show-another-thing/83414/1 "2023-12-21T09:18:59Z")

</div>

Hello everyone,

I am seeing a very strange behavior and I don't know where to look to solve it, it turns out that I have (image 1) the Designer with the correct configuration and operational.

DESIGNER:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/9/4977714a87f4e43b96dc1a65d108f41ff404a4ff.png)

control Value:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/0/0014b7b73a3c76c5ea2b0e4a30276ad570b1c124.png)  
IndicatorValue:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/a/da8cc8ec7c2067952338d34f7a6edfd959e2f6ca.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/8/6863912cced87016c0f9c8af7e45b16fec7d2e3a.png)

but in the vision I see that it is not working, it is always in stopped when it has to be in runnig as shown in the designer

VISION:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/5/15a01089d08434d4408330f2e61760dd948a4e49.png)

maybe there is something I have missed, but do you know how to fix it?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [December 21, 2023, 9:26am UTC](https://forum.inductiveautomation.com/t/designer-show-the-correct-function-but-vision-show-another-thing/83414/2 "2023-12-21T09:26:22Z")

</div>

The sp\_on custom property is an integer. How does this get set?

---

<div class="post-metadata">

**Author:** ![Miguel\_Cimildoro](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@Miguel\_Cimildoro](https://forum.inductiveautomation.com/u/Miguel_Cimildoro)\
**Post date:** [December 21, 2023, 9:38am UTC](https://forum.inductiveautomation.com/t/designer-show-the-correct-function-but-vision-show-another-thing/83414/3 "2023-12-21T09:38:37Z")

</div>

yes and is indexed by an indirecttag

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/3/0322f05088498e2b43cbd97994497b0755864b3f.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/0/b0c068a46582e7f27a649bd534c021f11d37575f.png)

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [December 21, 2023, 9:51am UTC](https://forum.inductiveautomation.com/t/designer-show-the-correct-function-but-vision-show-another-thing/83414/4 "2023-12-21T09:51:10Z")

</div>

Make sure this tag is evaluating correctly in the client, since this is what sets your button.

---

<div class="post-metadata">

**Author:** ![Miguel\_Cimildoro](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@Miguel\_Cimildoro](https://forum.inductiveautomation.com/u/Miguel_Cimildoro)\
**Post date:** [December 21, 2023, 10:22am UTC](https://forum.inductiveautomation.com/t/designer-show-the-correct-function-but-vision-show-another-thing/83414/5 "2023-12-21T10:22:59Z")

</div>

yes, in fact the value I get is 1 and the multistate button state determines that 1 is running and 0 is stopped

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

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [December 21, 2023, 12:55pm UTC](https://forum.inductiveautomation.com/t/designer-show-the-correct-function-but-vision-show-another-thing/83414/6 "2023-12-21T12:55:24Z")

</div>

Tip: `{Root Container.sp_on}` will always return a `true` or `false` so you can reduce your expression to,  
`if({Root Container.sp_on}, 1, 0)`

Sorry, I can't see what's wrong with your binding.
