Passing tags by reference to a popup

Hi,

I have an ignition vision system where I am attempting to pass tags by reference to a popup window, so that I can send commands out after a confirmation click on the popup. Right now, I can pass parameters to the popup window with the tag path, where the tag path contains the string of the entire tag path. In the popup I can then dereference that string using system.tag.writeBlocking in a script. This works fine, it just seems a little clunky to me, and I was wondering if there is a better way to do this?


Thanks!

You cannot pass by reference. You can pass a tag path as a string parameter and use that to perform indirect tag binding in the target view. (Which can be bidirectional.) You do not need to script the writes in this case.

Thanks! This makes sense, I think.
I could pass the name of the tag as a string, and then indirectly bind the tag if the rest of my tag path is fixed.