CurrentTagChanged
- Last UpdatedNov 17, 2021
- 1 minute read
The CurrentTagChanged event is triggered when a different tag is selected in the Tag List.
Syntax
aaHistClientTrend.CurrentTagChanged(message serverName, message tagName, integer TagType);
Parameters
serverName
The name of the server.
tagName
The name of the tag.
tagType
The type of tag.
Remarks
For more information on the tag type, see aaTagType Enumeration.
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.CurrentTagChangedtagName;