Table of Contents

Multi-Histories

Block Group: Data Services
Block Icon:Multi-Histories block icon

The Multi-Histories block retrieves a table of information about the value histories of multiple data nodes.

For information on using dataflow blocks, see Dataflow.

Note

The invoke property must be triggered to load the table the first time and also to load the table after any changes.


Input/Output Properties

These properties can take input and give output.

invoke causes the histories to be loaded. This trigger works only if enabled is set to TRUE.

enabled specifies whether this Multi-Histories block is enabled.

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

autoRun specifies whether the histories are loaded automatically.

timeout specifies, in seconds, how long this block attempts to load the histories before the request is canceled.

paths specifies the list of paths to the histories to load, separated by line breaks. Do not use commas to separate file names. You can drag files from the Metrics panel to this field. To edit text in a popup window, click the Edit in Window icon. To create line breaks, press Alt + Enter in the block properties panel, or press Enter in the popup window.

timeRange specifies the date and time range to return the histories 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.

showStatus determines whether a status column is included for each value history column in the output table. Status values report the status of the node at the time that data was collected, such as “down” or “overridden.”

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

missingValue specifies what value to display in the event of missing data. The value of the missingValue property can be one of the following:

header specifies the string that is used as the name of each value history column in the output table. The value of the header property can be one of the following:

delta specifies what is in the value history columns of the output table.


Output Properties

The following properties of the Multi-Histories block can give output but cannot take input.

loading returns whether the histories are currently loading.

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


How to Add Paths to the Multi-Histories Block

To add paths:

  1. Within the paths field, click Edit in Window to open a loadHistories.paths panel.
  2. In the Data panel, choose the relevant device or data source.
  3. Drag the relevant History icon from the Metrics panel to the loadHistories.paths panel.
  4. Press Enter to create a new line.
  5. Repeat steps 2 to 4 until all paths are entered.

Example

The following image demonstrates how to populate the paths property by dragging histories from the Metrics panel.

Multi-Histories dataflow model