TagDisplayChanged
- Last UpdatedNov 17, 2021
- 1 minute read
The TagDisplayChanged event is triggered when the display options for a tag in the Tag List are changed. This includes the following actions:
-
Showing or hiding the tag
-
Changing the type, color, width, or style of the tag’s trend curve
-
Changing the tag’s value format or precision
-
Changing the tag’s time offset
-
Changing the tag’s scale
-
Editing the tag’s target region
Syntax
aaHistClientTrend.TagDisplayChanged(message serverName, message tagName, integer displayItem);
Parameters
serverName
The name of the server.
tagName
The name of the tag.
displayItem
The identifier for the displayed trend item.
Remarks
To retrieve the value of an event parameter in the InTouch HMI software, refer to #ThisEvent.<Event Name><Parameter Name> inside the script for the respective event. For example, to read the value of the tagName parameter, use a statement like the following:
MyMsgTag = #ThisEvent.TagDisplayChangedtagName;