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

AVEVA™ Historian

aaUpdateCalculatedAISamples

  • Last UpdatedMar 18, 2021
  • 1 minute read

Used by the system to write the optimum number of samples in the active image to the CalculatedAISamples column in the Tag table. This stored procedure is used by the AVEVA Historian and should not be executed by users.

Syntax

aaSetCalculatedAISamples TagKey, Samples

where:

Argument

Description

TagKey

The unique numerical identifier of a tag within a single AVEVA Historian. This value is of data type int, with no default.

Samples

The number of samples that the active image holds for the tag. 0 indicates that the active image is using the default of 65 values. The higher the number of samples, the higher the load on memory resources. This value is of data type int, with no default.

Remarks

If the AIAutoResize system parameter is set to 1, the system continuously recalculates the optimum number of samples for each tag based on the data rates received. If the calculated value exceeds the current value in the database, then the system updates the CalculatedAISamples column in the _Tag table.

Permission

Execute permission defaults to the aaPowerUsers and aaAdministrators groups.

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