Table of Contents

Load History

Block Group:Data Services
Icon:no icon

The Load History block retrieves information about the value history of a data node.

To automatically create a Load History block for a node at a particular path, you can drag that node's History icon from the Metrics panel into the dataflow window.

For information on using dataflow blocks, see Dataflow.


Input/Output Properties

The following properties of the Load History block can take input and give output.

invoke causes the history to be loaded. The invoke property only works if enabled is set to TRUE.

enabled specifies whether the Load History block is enabled.

interval specifies how often the history is loaded, in seconds. A value of 0 means that the history is reloaded on autoLoad or invoke only.

autoRun specifies whether the history is loaded automatically.

timeout specifies how long the loader attempts to load the history before the request is canceled.

path specifies the history for which to return information.

timeRange specifies the date and time range to return the history for. You can click the button and use the date range picker to specify a range.

dataInterval specifies the date or time interval between each consecutive pair of data points.

rollup specifies the type of rollup used. The value of rollup can be one of the following:

header specifies which string is used to name the "value" column in the output table.

delta specifies what is in the "value" column of the output table.


Output Properties

The following properties of the Load History block can give output but cannot take input.

loading returns whether the history is currently loading.

output returns a table of the given history's values. Columns are:

error returns the error string, if any.


Example

The following image demonstrates how to create a Load History block by dragging a History icon to the dataflow window.

Load History dataflow model