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://global.discourse-cdn.com/business4/uploads/inductiveautomation/original/3X/4/9/4977714a87f4e43b96dc1a65d108f41ff404a4ff.png)
control Value:
![image](https://global.discourse-cdn.com/business4/uploads/inductiveautomation/original/3X/0/0/0014b7b73a3c76c5ea2b0e4a30276ad570b1c124.png)
IndicatorValue:
![image](https://global.discourse-cdn.com/business4/uploads/inductiveautomation/original/3X/d/a/da8cc8ec7c2067952338d34f7a6edfd959e2f6ca.png)
![image](https://global.discourse-cdn.com/business4/uploads/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://global.discourse-cdn.com/business4/uploads/inductiveautomation/original/3X/1/5/15a01089d08434d4408330f2e61760dd948a4e49.png)
maybe there is something I have missed, but do you know how to fix it?
The sp_on custom property is an integer. How does this get set?
1 Like
yes and is indexed by an indirecttag
Make sure this tag is evaluating correctly in the client, since this is what sets your button.
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://global.discourse-cdn.com/business4/uploads/inductiveautomation/original/3X/6/6/660522bb5a5f5237c5e49b683fb01b0c2f47f7d1.png)
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.