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

AVEVA™ InTouch HMI

GetSubElementName() Method

  • Last UpdatedFeb 20, 2017
  • 1 minute read

For the indicated element, gets the name of the sub-element at the corresponding index.

Syntax

Object.GetSubElementName(Path, ElementName, ElementIndex)

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.

Examples

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

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

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

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

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

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