Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Industrial Graphic Editor

The Identity property in the ShowGraphic() function

The Identity property in the ShowGraphic() function

  • Last UpdatedJul 08, 2024
  • 1 minute read

We recommend that the Identity be unique across the HMI application. If you want to add the HideGraphic script function, use the same Identity as a parameter that you have used in the ShowGraphic script. The HideSelf script function does not have any parameter.

The following table lists the various scenarios where you can use the Identity property with the ShowGraphic() function and their results in run time:

Scenario

Result in runtime

You have executed two ShowGraphic scripts for the same graphic using the same Identity.

The first pop-up window is closed and a new one opens, displaying the same graphic.

You have executed two ShowGraphic scripts for two different graphics, but using the same Identity.

The first pop-up window displaying the first graphic is closed and a new one opens, displaying the second graphic.

You have executed two ShowGraphic scripts for the same graphic, but using different Identity properties.

Two pop-up windows are opened, displaying the same graphic.

You have executed two ShowGraphic scripts for two different graphics with different Identity properties.

Two pop-up windows are opened, displaying the two different graphics.

During configuration, the system validates only the syntax of the script. Validation of graphic and Identity existence occurs only at run time.

TitleResults for “How to create a CRG?”Also Available in