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

AVEVA™ Historian

GetTagPrecision

  • Last UpdatedJan 25, 2024
  • 1 minute read

The GetTagPrecision method gets the number of decimal places to show for the data value of the currently selected tag. This applies only to analog tags.

Syntax

[Result=] aaHistClientTrend.GetTagPrecision(message serverName, message tagName);

Parameters

serverName

The name of the server.

tagName

The name of the tag.

Return Value

The decimal places (precision) for the tag as an integer.

Remarks

If the specified tag is shown in the chart multiple times, the method uses the first instance that was added.

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