Storage Field

<< Click to Display Table of Contents >>

 

Storage Field

A Storage Field Storage Field object represents a Field on the Storage table on a database. The available options to configure a Storage Field are described on the next table.

Available options for Storage Fields

Option

Description

Name

Determines the name of a Storage Field on a Storage's table. This option corresponds to Storage Field's Name property

Source

Determines a data source linked to a Storage Field. This is a read-only option and corresponds to Storage Field's Link property

Type

Determines this Storage Field's data type on a Storage table. Possible values for this option are 0: eStorageDouble, 1: eStorageBit, 2: eStorageText, or 3: eStorageInteger. If this value changes to eStorageBit, eStorageText, or eStorageInteger, the MinRecTime, MaxRectTime, Scan, Dead band, and Unit options remain disabled. This option corresponds to Storage Field's Type property

MinRecTime

Minimum difference, in milliseconds, between timestamps of any two records with the same quality, that is, the minimum time to store new data. This option corresponds to Storage Field's MinRecTime property

MaxRecTime

Maximum difference, in seconds, between timestamps of two consecutive records, that is, the maximum time without recording any data. After this time, data is considered old and then stored. This option corresponds to Storage Field's MaxRecTime property

Scan

Scan time of a Storage Field, that is, how often a Tag's value is sent back to data compression algorithm. If this value is equal to 0 (zero), this column remains disabled and shows the value defined in MaxRecTime, in milliseconds. This option corresponds to Storage Field's ScanTime property

Dead band

Dead band used to calculate data compression algorithm. Indicates the precision users are willing to loose in each Storage Field to store. This option corresponds to Storage Field's DeadBand property

Unit

Unit for the Dead band option. This value can be specified in absolute units or as a percentage of Tag's current value. This option corresponds to Storage Field's DeadBandUnit property

Was this page useful?