For value requests, the block processes a trend request using the block’s Window property value to calculate a time range, where the time range start = current station time - window and time range end = current station time. In this case, you would expect the window to likely contain multiple records.
For trend requests, the block iterates through each of the records keeping track of the previous records within the window.
It calculates the time range as it evaluates each record where time range start = current record timestamp - window and time range end = current record timestamp. When a trend request processes the first record there are no available past records within the window so the request passes
over the first record value, but as it processes subsequent records, it likely processes multiple records whose timestamps
are within the calculated window.

To view these properties, double-click the block on the Wire Sheet or the block name in the Nav tree.
| Property | Value | Description |
|---|---|---|
| Out | read-only value slot | Outputs a trend where each value represents a rollup of all the prior values for a duration of time as defined by the Window property.
|
| Trend In | required value slot | Links from the output of other logic blocks or data sources to supply trend data to the current logic block. |
| Rollup | check box (if optional, and) drop-down list or ORD parameter (when configured in the data definition, defaults to First, when configured elsewhere, defaults to the value as defined in the Data Definition); rollup=option |
For trend requests, configures the rollup function used when the block’s Use Request Rollup property is false or the Rollup property is not explicitly configured in the request.
For value requests, always uses the block’s If rollup is not enabled in the binding/settings window, the rollup value configured in the Data Definition applies to all chart bindings, reports and tables.
|
| Use Request Rollup | true or false (default)
|
Determines the rollup function to use for trend requests.
|
| Window | hours minutes seconds milliseconds (defaults to 1 hour) | Configures the duration of time used in the rollup calculation. |
When processing a trend request, this block:

The screen captures illustrate the Sliding Window behavior where the initial record value is 40 so the BiSwitch output is true and the Sliding Window Rollup = And, so it passes a true output even though there is only one record at that point in the 45 minute window.

When Use Request Rollup is false and Rollup is not configured, the block uses the rollup function defined in the applicable Data Definition. If there is no Data Definition,
the block uses the default First function. When Use Request Rollup is false and Rollup property is configured, the block uses the Rollup property value. When Use Request Rollup is true, the block uses the rollup function defined in the request (Analytic Proxy Ext, Analytic Binding, etc.), unless the request
does not specify the rollup function in which case the block uses the Algorithm’s Rollup property value.
The following table may help to determine when each value applies.
| Data Definition Rollup | Data Source Block Use Request Rollup | Data Source Block Rollup | Request Rollup | Algorithm Rollup | Actual Rollup Function |
|---|---|---|---|---|---|
| Unconfigured | False | Unconfigured | Sum | Max | Defaults to First |
| Last | False | Unconfigured | Sum | Max | Last |
| Last | False | Avg | Sum | Max | Avg |
| Last | True | Avg | Sum | Max | Sum |
| Last | True | Avg | Unconfigured | Max | Max |