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

AVEVA™ InTouch HMI

Set a Supertag instance as the Owning Object

  • Last UpdatedMay 29, 2025
  • 3 minute read

Owning Object can be used for relative referencing. The OwningObject property is available when you have one graphic embedded into a second graphic. You can set the owning object properties in Industrial Graphic Editor, under Runtime Behavior section of the Configuration Properties tab. Enter the instance name with the InTouch: prefix for both managed and standalone InTouch applications. Example, InTouch:Tank01. You can also set the owning object using scripting. OwningObject property sets the owning object of the graphic shown by the ShowGraphic() script function. It can be a concatenation of constant strings and reference strings. Example: graphicInfo.OwningObject = "UserDefined_001";

Note: The OwningObject property sets references for the graphic, but is not associated with the GraphicName property if the symbol is part of an Object Wizard. Therefore, if you are scripting a symbol with an owning object, specify the owning object name as part of the GraphicName property, for example, UserDefined_001.Pump_001.

Owning Objects in Supertags

You can use relative references with a Supertag. You can create a symbol and use the owning object property based on a Supertag. This feature allows you to set Supertag instances as the owning object for a graphic. This helps you to rapidly develop the application without the need of configuring individual symbols.

For example:

Consider a Supertag named Tank with seven attributes added and has eight instances created namely, Tank_001, Tank_002 till Tank_008 as shown below:

Tank Supertags

Each of these tank Supertag instances is set as an owning object. To represent these tank instances, in the Industrial Graphic Editor, these tank symbols are added.

Supertags instances as owning object

For each tank symbol, the value display for the attributes is set as relative references.(The graphic being embedded should include "me.Attribute" for relative reference to work. The attribute being referenced, for example "me.Level" will bind to the attribute of that Supertag instance at runtime.)

Relative Reference for tank symbol

A combo box which is referencing a custom property name as Tank Name is added to the graphic and the values in the combo box are set as the names of the Supertag instances.

Combo box

In the scripts for this graphic, a data change script is configured to execute when the tank name custom property is changed. This script uses show graphic option to show a tank and it sets the owning object to be the value of the custom property tank name.

Owning Object Script for the graphics

After switching to runtime, in the combo box you can select any tank and the corresponding tank with its different attribute values is displayed.

Tank combo box at Runtime

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