You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Overview

The Historian Namespace exposes properties and methods from the .NET objects used by the Historian Module execution. You can use these properties and methods on your Displays or to create Scripts and Alarms.





Runtime Attributes

HistorianTables Tag Historian Values

Like all objects in the Platform HistorianTables have their set or properties and Methods. 

Particularly, there methods that is frequently used by application, which is to retrieve the historian contents, generating a DataTable with the results. 

Those Methods are mainly on the Tag namespace, HistorianTabe namespaces, using the TK toolkit methods.

MethodDescription
TK.GetTagHistorianGets Historian data from a Tag, given a date range
TK.GetValueFromHistorianGets one specifi value from the Historian Database
Historian.Table.Table1.SaveToTextFileExport contents to CSV files
Historian.Table.Table1.GetObjectListGet List of Tags used by each HistorianTable

Some other methods have the focus on the state of the execution of the Historian Module itself.


Property Path

Type

Description

Historian.IsStarted

Boolean

Indicates the operational status Module Historian has started.

  • True, the Module Historian actively archives data.
  • False, no data archiving occurs.

Historian.OpenStatusMessage

String

Indicates the success or failure when initiating the Module Historian. If the Module Historian starts successfully, the system returns an OK string. otherwise returns error message.

Historian.EnableCache

Boolean

A Boolean flag that enables the creation of temporary binary files on the server to optimize the TrendChat object performance when handling large datasets. Setting to true improves responsiveness and efficiency.

→   Read more about Objects, and access the Namespace API, at Objects and Namespaces.


In this section:

The root page @parent could not be found in space v10.

  • No labels