aaTopicInsert
- Last UpdatedMar 18, 2021
- 2 minute read
Inserts an I/O topic.
Syntax
aaTopicInsert StorageNodeKey, IOServerKey, Name, TimeOut, LateData, IdleDuration, ProcessingInterval
where:
|
Argument |
Description |
|---|---|
|
StorageNodeKey |
The unique numerical identifier for the storage node. This value is of data type int, with no default. |
|
IOServerKey |
The unique numerical identifier for the I/O Server. This value is of data type int, with no default. |
|
Name |
The name of the topic. This value is of data type nvarchar(80), with no default. |
|
TimeOut |
The time span, in milliseconds, in which a data point must be received on the topic. If no data point is received in this time span, the topic is considered "dead." The historian disconnects and then attempts to reconnect to the topic. This value is of data type int, with a default of 60000. |
|
LateData |
Used to enable acquisition of "late" data. 0 = Late data disabled 1 = Late data enabled This value is of data type bit, with a default of 0. |
|
IdleDuration |
The amount of time, in seconds, before data is processed from the I/O Server. For example, if you set this value to 60 seconds, data from this I/O Server is cached and only processed by the storage engine after no more data has been received from the I/O Server for at least 60 seconds. This value is of data type int, with a default of 60. |
|
ProcessingInterval |
The amount of time, in seconds, after which late data from the I/O Server is processed, regardless of the idle duration. If the nature of the data is such that the idle duration is never satisfied, the historian storage engine processes data from the topic at least one time every processing interval. The processing interval defaults to twice the idle duration and cannot be set to a value less than the idle duration. This value is of data type int, with a default of 120. |
Permission
Execute permission defaults to the aaPowerUsers and aaAdministrators groups.