Metadata Functions

Metadata functions retrieve configuration and descriptive information for data variables, including names, descriptions, data types, engineering units, ranges, and source information.

Function Reference:

Function

Name

Description

Format

Returned Value

tagname

Name

Returns the configured name of a data variable.

tagname(variable)
variable: Specifies the internal data variable to evaluate.

String

tagdname

Display Name

Returns the configured display name of a data variable.

tagdname(variable)

variable: Specifies the internal data variable to evaluate.

String

tagdesc

Description

Returns the configured description of a data variable.

tagdesc(variable)

variable: Specifies the internal data variable to evaluate.

String

tagvaltype

Value Type

Returns the configured value type identifier.

tagvaltype(variable)

variable: Specifies the internal data variable to evaluate.

Integer

tagtype

Variable Type

Returns the configured variable type identifier.

tagtype(variable)

variable: Specifies the internal data variable to evaluate.

Integer

tagunits

Engineering Units

Returns the configured engineering units.

tagunits(variable)
variable: Specifies the internal data variable to evaluate.

String

taghighval

High Range

Returns the configured high range value.

taghighval(variable)

variable: Specifies the internal data variable to evaluate.

Double

taglowval

Low Range

Returns the configured low range value.

taglowval(variable)

variable: Specifies the internal data variable to evaluate.

Double

tagsource

Source

Returns the configured source data point name.

tagsource(variable)

variable: Specifies the internal data variable to evaluate.

String