Show Another Display in an Inset Window

You can use a script to set a pick action to show another display in an inset window, for example, you can create a script that causes a web page to be displayed in an inset window. The web page is displayed when a Mimic item is selected.

The script for an inset window is Mimic.OpenInset, for example:

Public Function GoAlarmList

Mimic.OpenInset "SCX:///*/AlarmList/", "0","0","200","400"

End Function

OpenInset has to be followed by the address of the display, the X and Y coordinates of the display, and then the Width and Height settings. The address can be a URL or a ClearSCADA display. The address for ClearSCADA displays has to use the format:

SCX:///LOCAL/<Database Class>/<path>

An easy way to find the address for a ClearSCADA display is to access the display, then add it to your favorites. If you display the Favorites Bar, you can right-click on the display link and select the Properties option to display the Properties window. You can then copy the address from the Properties window and paste it into your script.

If there are double-quotes in the address or URL, you need to enter additional double-quotes around them in the script. For example, if the address is for an Alarms List with filtering, the address could be:

Mimic.OpenInset "SCX:///LOCAL/AlarmList/Area = "Filter1"

In the script, this would need to be defined as:

Mimic.OpenInset "SCX:///LOCAL/AlarmList/Area = ""Filter1"""

Further Information

Mimic.OpenInset



Disclaimer

ClearSCADA 2017 R3