Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ BI Gateway

TagMetaData

  • Last UpdatedJun 09, 2023
  • 1 minute read

This Azure custom query returns the tags based on the query expression. The custom query expression supports the following parameters.

Parameter Name

Parameter Choice

Example

Description

QueryName

Required

TagMetaData

Azure function query name

SelectColumn

Optional

["*","Location"],

Or

["FQN", "Source", "Description", "EngUnit", "EngUnitMax", "EngUnitMin", "InterpolationType", "MessageOff", "MessageOn", "TagName", "TagType", "SourceTag", "Namespace", "Alias","Location"]

Option to pick required properties from AVEVA Insight.

Filter*

Optional

"startswith(FQN,'Weather.Los Angeles')"

Expression to apply filter on the tags.

For more information about the supported Filter expressions, see the "Query Expression Operator" section.

The following properties are returned from the Azure function query for "TagMetadata".

Property Name

Datatype

Description

FQN

string

The fully qualified name for the tag. A fully qualified name uses the format: datasource.tagname.

TagName

string

The unique name of the tag within the Wonderware Historian system.

Source

string

The data source.

Description

string

The description of the tag.

EngUnit

string

The engineering units used for the tag's recorded values.

EngUnitMax

Double

The maximum value of the tag, measured in engineering units.

EngUnitMin

Double

The minimum value of the tag, measured in engineering units.

MessageOff

string

The message associated with the FALSE state of the discrete tag.

MessageOn

string

The message associated with the TRUE state of the discrete tag.

TagType

string

The type of tag. 1 = Analog; 2 = Discrete; 3 = String; 5 = Event, 7 = Summary tag (analog or state)

TitleResults for “How to create a CRG?”Also Available in