Passing UDT parameters from View into a popup

Hello, I am newer to ignition, so I am still very much a rookie. I have two templates that I am trying to pass parameters from the first view (Digital_Valve) to the second one (Valve_Popup_Coordinate). I am able to pass some parameters successfully, but my issue is that I cannot write a value back to the PLC from the Valve_Popup_Coordinate. I checked to make sure bidirectional was toggled on and tag security is set to read/write. Any help would be greatly appreciated!

image(two templates)

(Digital Valve Template)

(Digital valve Popup)

(Tag Binding on one-shot button), this one does not work.

(Tag Binding on “Valve Name”, this populates correctly, just added pic to show tag binding is similar)

(Live View of the templates side by side, Valve name and Status populate correctly, none of the buttons work)

(On-click Event)

You are passing the tag value to your template/popup, not the reference to your tag. Pass the tag path to your template/popup and then create an indirect tag binding on a custom property on the popup/template using the tag path you pass to it.

This talks bout popups but the same knowledge can be applied to templates/embedded views

3 Likes

Thanks for the help! This was the exact solution to my problem.