Class SevHist
Version 2.0
Modified 26-MAY-2023 14:29:26.00
 Configures historical data storage for a scalar
 quantity or element in a one-dimensional vector. (Datastorage
 History).

 In a relational database, data resides in
 two-dimensional tables known as relations. A relation
 consist of rows and columns.

 The SevHist object specifies which quantity is to be
 stored and in which relation. Up to three different
 relations can be specified.
 Hints

 If the storage concern signal values SevHist is
 configured in the development environment often direct
 below the current signal object.

See also



RtBody attributes pwr_sClass_SevHist
String80 Description   Optional desription.
AttrRef Attribute   Specifies the complete name of the attribute whose
value is to be stored.
Objid ThreadObject   SevHistThread object that specifies the storage scantime
and in which server the data is stored.
DeltaTime StorageTime   Time the data will be stored in the database.
Data that is older than this time will be removed from
the database by a garbage collector.
Float32 DeadBand   The deadband is a range around the last stored value, where no new values
will be stored, i.e a value has to differ more than the deadband / 2 from
the last stored value to be stored.

Deadband contains the size of deadband. Note that the DeadBand bit in options also
has to be set to activte the deadband function.
SevHistOptionsMask Options   Storage options.
Boolean Disable   Disable storage.
Boolean Trigger   Trigger a storage when event controlled storage is configured.
Trigger can be set from the application or from a process graph,
and when it has been detected by the rt_sevhistmon process, it
will be reset by this process.

To configure even controlled storage, set Event in Options.
CurveLayoutMask Layout   Curve window layout.


Template Object
DeadBand 0.0
Options 4


Attributes detail


Description Attribute
Class Attribute
Type String80
Flags
Body RtBody
 Optional desription.

Attribute Attribute
Class Attribute
Type AttrRef
Flags
Body RtBody
 Specifies the complete name of the attribute whose
 value is to be stored.

ThreadObject Attribute
Class Attribute
Type Objid
Flags
Body RtBody
 SevHistThread object that specifies the storage scantime
 and in which server the data is stored.

StorageTime Attribute
Class Attribute
Type DeltaTime
Flags
Body RtBody
 Time the data will be stored in the database.
 Data that is older than this time will be removed from
 the database by a garbage collector.

DeadBand Attribute
Class Attribute
Type Float32
Flags
Body RtBody
 The deadband is a range around the last stored value, where no new values
 will be stored, i.e a value has to differ more than the deadband / 2 from
 the last stored value to be stored.

 Deadband contains the size of deadband. Note that the DeadBand bit in options also
 has to be set to activte the deadband function.

Options Attribute
Class Attribute
Type SevHistOptionsMask
Flags
Body RtBody
 Storage options.

Disable Attribute
Class Attribute
Type Boolean
Flags
Body RtBody
 Disable storage.

Trigger Attribute
Class Attribute
Type Boolean
Flags
Body RtBody
 Trigger a storage when event controlled storage is configured.
 Trigger can be set from the application or from a process graph,
 and when it has been detected by the rt_sevhistmon process, it
 will be reset by this process.

 To configure even controlled storage, set Event in Options.

Layout Attribute
Class Attribute
Type CurveLayoutMask
Flags
Body RtBody
 Curve window layout.