Popup Controls on a component that is bound to a boolean writeable tag

Good afternoon, and thank you all in advance. I am very new and I am still very much in the process of learning how things work in Ignition. I have created a popup that is called by a mouse click on a valve. This valve is bound to a boolean tag. What I have been working to achieve is having a button in the popup that can change the state of the boolean tag. I was able to get this done today, and I was looking to expand that idea by putting multiple valves on the same page, and having each call the popup. That part is going well, where I am having issues is when a change is made to one valve, it changes all of the valves. I am trying to have it so that only the valve that calls the pop up is affected, and at this point my brain is kind leaking out of my ears, so I figured I would ask for help.

Pass the tagpath of the target boolean as a string parameter into the popup. Then the popup can use indirect binding (bidirectional) to offer control over the desired valve.

1 Like

Doc links on indirect bindings:

I meant to respond to this earlier today and then got sidetracked, but thank you, your answer helped me figure it out. I appreciate it.