We have a device template with two parameters:
deviceParentPath
deviceName
When an instance of this Template is placed in another View:
The params are updated manually to give the tagname of the Device.
On the template there is a button to open a pop up to show the Device FacePlate (it has the same parameters): onActionPerformed > Popup action is used (the params are passed to the PopUp).
If the button is pressed on Device1, the PopUp is shown and all the elements are pointing to the Device Tagname Device1.
If the pop up is closed and the button is pressed on Device2, the PopUp is shown and all the elements are pointing to the Device Tagname Device2.
But if the pop up is opened, pointing to Device1, and the button is pressed on Device2, all the elements in the PopUp are still pointing to the Device Tagname Device1.
Thank you very much for your reply regarding my question and forum rules.
I'm still getting my head around how Ignition works, where and how scripts run,...