Archive Value function
- Last UpdatedNov 21, 2022
- 3 minute read
- PI System
- PI DataLink 2023 SP1
- Visualization
-
If you select the Data item option, the Archive Value function returns the value of a PI point or a PI AF attribute at a specified time stamp. This function supports bulk calls.
-
If you select the Expression option, the Archive Value function returns the computed value of a performance equation at a specified time stamp.
|
Input |
Description |
|---|---|
|
Root path |
The common path to specified data items, including those in expressions. Valid entries include:
|
|
Data item(s) |
One or more PI point names or PI AF attribute names, for which the function returns values. To specify multiple data items, enter a range of cells that contain PI point names or PI AF attribute names. The function returns values for each. Required if you select the Data item option. |
|
Expression(s) |
One or more performance equations that the function computes a value for. See Expressions. To specify multiple expressions, enter a range of cells that contain complete expressions. The function returns values for each. Required if you select the Expression option. |
|
Time stamp |
The time stamp for which the function returns values. Specify either a fixed time or a time expression relative to the current time. See Time inputs. Required. |
|
Retrieval mode |
The method the function uses to determine returned values. Choices include:
|
|
Output cell |
The worksheet cell where the function writes the resulting function array. If you select a cell before you open the function task pane, PI DataLink inserts the selected cell into the Output cell field. Specify the top-left corner of the function array. PI DataLink expands the range downward and to the right of the output cell, as necessary to return specified data. PI DataLink might overwrite adjacent cells. If you specify a multi-cell array in the Output cell field and the specified array is larger than the resulting function array, PI DataLink pastes the function formula in the unneeded cells of the specified array. |
|
No time stamp |
Select this option to return only values. The function returns values in a column for a column of referenced data items or expressions, or returns values in a row for a row of referenced data items or expressions. |
|
Time at left |
Click this option to return two columns: the time stamp in the left column and the value in the right column. |
|
Time on top |
Click this option to return two rows: the time stamp in the top row and the value in the bottom row. |
See also
-
Specify data items.
-
Specify an expression.