HistorianSupport.gHistorian — encapsulates the Historian facility in the DataHub program.HistoryBuffer — a set of HistoryValues returned from a Historian
query.HistoryValue — a single value from the Historian, consisting of value, x-axis and
quality.HistTest.g — an example script that demonstrates how to access
Historian data.The functionality of the DataHub Historian features is made available
through a Historian class provided in the
HistorianSupport.g script located in the require folder of your DataHub
installation..
![]() | |
You must require the Historian support methods before you can use them in a script. At the top of your script, include the following line: require (HistorianSupport); |
The HistorianSupport.g file provides three classes:
Historian, HistoryBuffer, and
HistoryValue. The HistTest.g script
provides an example of how these classes are used to query the DataHub Historian.