Parameterized Popup Window Writing TO Tags

ignition80
scripting
#1

Hi,

I am creating a popup template where a number of parameters will pass if the user presses a button.

In the popup, the user may edit some values (e.g. High Alarm set-point)

I created custom properties in the root container of the popup window and the same in the button. Then bound the button custom properties to tags.

In the button script (that launches the popup), how can the user changes in the popup be saved and written to the tags.

Thanks

0 Likes

#2

Don’t send the parameter values to the root container of the popup, send the string tag path(s) instead. In the popup, use the tagpath with an indirect tag binding on your data entry fields. Make those indirect bindings bidirectional.

1 Like