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

AVEVA™ InTouch HMI

HTSelectTag() Function

  • Last UpdatedJun 02, 2021
  • 1 minute read

The HTSelectTag() function opens the Select Tag dialog box for the operator to assign a different tag to a trend pen.

Note: The Select Tag dialog box only lists the tags that are defined for historical logging with the Log Data option selected in the Tagname Dictionary.

Category

Historical

Syntax

HTSelectTag();

Remarks

The HTSelectTag() function only shows tags in which the Log Data option has been selected from the Tagname Dictionary. However, it is possible to use the Tag Browser's filter to display a smaller set of tags. For example all tags that begin with "A". The function returns the selected tag and can be used as function parameter to assign a tag to a pen.

Example

The following QuickScript causes the Select Tag dialog box to appear in WindowViewer. The user can then select a tag from the list. This tag is assigned to pen 1 by the Historical Object named HistTrend.

HTSetPenName("HistTrend",1,HTSelectTag());

See Also

HTSetPenName()

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