CheckTagGroup

(VTScada-Layer function. Must be called with a leading backslash.)

Description: Returns TRUE or FALSE according to whether a tag is in the specified group.
Returns: Boolean
Usage: Script Only.
Function Groups: Variable
Related to: GetTagMode
Format: \CheckTagGroup(TagModule, TagGroup)
Parameters:  
TagModule
Required. A tag type module or instance.
TagGroup
Required. The name of the tag group to check.
Comments:

If the tag is a member of the group, the function will return, TRUE. A list of groups can be found in the topic, Type Characteristics.

This function can be useful in Linked Tag Widgets, where you may need to check the group membership of the linked tag. There, the TagModule may be referenced as "\Root", which is the linked tag.

Examples:

    IfThen(\CheckTagGroup(TagObj, "Analogs"),
   ...
    );