PIArcVal()
- Last UpdatedNov 21, 2022
- 1 minute read
- PI System
- PI DataLink 2023 SP1
- Visualization
Returns the value of a PI point or PI AF attribute at a specified time stamp. This function supports bulk calls.
Syntax
PIArcVal(DataItem, TimeStamp, OutCode, RootPath, Mode)
Arguments
|
Argument |
Type |
Description |
|---|---|---|
|
DataItem |
String |
The PI point name or PI AF attribute name for which the function returns a value. Specify a range of cells that contain PI point names or PI AF attribute names to return a value for each. |
|
TimeStamp |
String |
The time stamp for which the function returns values. See Time inputs. |
|
OutCode |
Integer |
An output code that determines what appended data the function returns and how the function orients output. See Output codes for information on how to compute the code. This function supports bits 1 and 2. |
|
RootPath |
String |
The path to the data item. See Data items. |
|
Mode |
String |
The method the function uses to retrieve values:
|
Example
=PIArcVal("cdep158","11-dec-92 19:20",0, "casaba","interpolated")
Returns the interpolated value of the PI point cdep158 at 7:20 p.m. on December 11, 1992 from the Data Archive server named casaba.