CurrentValue
- Last UpdatedNov 22, 2022
- 1 minute read
- PI System
- PI Manual Logger 2017 R2
- Visualization
Syntax
CurrentValue(TagName)
Arguments
|
Argument |
Data Type |
Description |
|---|---|---|
|
TagName |
String |
The name of any PI tag in the current tour. The tag must be surrounded by double or single quotes. |
Returns
Returns the current value collected in the tour for the TagName argument. The tag must be part of the current tour. If the value cannot be determined, is returned.
Examples
CurrentValue("PimlDemoTag")
This example returns the current value for the tag named PimlDemoTag. If the current value for the tag cannot be found, Unknown is returned.