TagZero
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
For an attribute with a PI point data reference, get a PI point's "zero" value from the point database.
Syntax
TagZero(attname)
Arguments
-
attname
The name of an attribute with a PI point data reference, enclosed in single quotes
Returns
The point's zero value. If the point type is integer or real number, this is a number; if the point's type is digital, this is a digital state (character string)
Exceptions
If the point does not exist, returns an error
Example
-
TagZero('sinusoid')
[Returns 0]
-
TagZero('cdt158')
[Returns 50]