GetTagMode
(VTScada-Layer function. Must be called with a leading backslash.)
Description: | Returns text or a structure to identify what kind of tag a given instance is. |
Returns: | Text |
Usage: | Script or steady state. |
Function Groups: | Variable |
Related to: | CheckTagGroup |
Format: | \GetTagMode(TagObj[, Specifier]); |
Parameters: |
TagObj |
Required. The tag instance being checked. |
Specifier |
Optional text. The name of the tag attribute to return. If this parameter is Invalid, a structure including all attributes will be returned. May be any of:
|
Comments: |
If a structure is returned, it will contain the following fields:
Some Boolean attributes are mutually exclusive, such as IsAnalog and IsDigital. Others such as IsAnalog and IsDiscrete, are not. |