GetAllTagTypesInGroup
(VTScada-Layer function. Must be called with a leading backslash.)
| Description: | Returns an array of all Tag Types in a Tag Group. |
| Returns: | Array |
Usage: ![]() |
Script Only. |
| Function Groups: | Basic Module |
| Related to: | CheckTagGroup|GetTagList|GetTagTypes |
Format: ![]() |
\GetAllTagTypesInGroup(Group) |
| Parameters: |
| Group |
| Required. The string name of the queried Tag Group. |
| Comments: |
The function returns the array of Tag Types sorted alphabetically by their names in code, see Tag Names in Code. The list of Tag Group names included with VTScada is found in the topic Type Characteristics. The function can also query Custom Tag Groups. Returned Tag Types may be members of more than one group. For example, queries for the Tag Groups "Digitals", "Analogs", and "Strings" will all return the I/O and Calculations Tag Type in their arrays. Note: The Tag Browser's Select Type dialog only lists Legacy Tags Types under the [Legacy Drivers] and [Legacy I/O and Calculations] groups. However, this function returns Legacy Tag Types in all relevant groups. For example, The Legacy Strings I/O Tag Type does not appear under the "Strings" Tag Group in the Select New dialog but \GetAllTagTypesInGroup("Strings").
|
Example:
To retrieve an array of all tag types that are part of the numeric group
LocalSubTypeList = \GetAllTagTypesInGroup("Numeric")
