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

AVEVA™ Historian

aaAddReplicationTagEntity

  • Last UpdatedMar 10, 2025
  • 1 minute read

Add or modify a replication tag entity.

Syntax

aaAddReplicationTagEntity SourceTagName, ReplicationGroupName, ReplicationServerName, ReplicationTypeKey, MaximumStates, CurrentEditor, DestinationTagId, DestinationTagName

where:

Argument

Description

SourceTagName

The source tag name. This value is of data type nvarchar(256), with no default.

ReplicationGroupName

The name of the replication group. If this is NULL, the replication type is set to simple replication. This value is nvarchar(255), with a default of NULL.

ReplicationServerName

The name of the replication server. This value is of data type nvarchar(255), with no default.

ReplicationTypeKey

The type of replication. Valid values are:

1 - Simple Replication

2 - Analog Summary Replication

3 - State Summary Replication

This value is of data type tinyint, with a default of 2.

MaximumStates

Maximum number of states to track for state summary tags. This value is of data type tinyint, with a default of 10 and a maximum of 100.

CurrentEditor

0 - Historian

2 - AVEVA Application Server

This value is of data type tinyint, with a default of 0.

DestinationTagID

Unique ID of the destination tag. If NULL, the destination tag name is generated based on the naming rule. This value is of data type uniqueidentifier, with a default of NULL.

DestinationTagName

Name of the destination tag. If NULL, the destination tag name is generated based on the naming rule. This value is of data type nvarchar(256), with a default of NULL.

ReplicationTagEntityKey

The unique identifier for the replication tag entity. This value is of data type int, with a default of NULL.

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