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

AVEVA™ InTouch HMI

GetSubElementPath() Method

  • Last UpdatedFeb 20, 2017
  • 1 minute read

Gets the path of the sub-element from the index of the element name to the indicated expansion level.

Syntax

Object.GetSubElementPath(Path, ElementName, ElementIndex, ExpansionLevel)

Parameter

Path

The name of the path. For example:

\\NodeName\InTouch

If the path parameter is empty, the Alarm Tree Viewer control finds the first element of the tree that matches the indicated element name.

ElementName

The name of the element. For example, Group1.

ElementIndex

The index of the element.

ExpansionLevel

The level of expansion.

Examples

The name of the control is AlarmTreeViewerCtrl1 and StrTag is a message tag.

StrTag = #AlarmTreeViewerCtrl1.GetSubElementPath("", "Group1", 1, 3);

StrTag = #AlarmTreeViewerCtrl1.GetSubElementPath("\\NodeName", "Group1", 1, 3);

StrTag = #AlarmTreeViewerCtrl1.GetSubElementPath("\InTouch", "Group1", 1, 3);

StrTag = #AlarmTreeViewerCtrl1.GetSubElementPath("\\NodeName\InTouch", "Group1", 1, 3);

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