IsSet
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2018
- PI Server
For an attribute associated with a PI point, determine if the point is annotated, substituted, or questionable.
Syntax
IsSet(attname, select)
Arguments
-
attname
An attribute associated with a PI point of value type integer, real number, enumeration value, or string
-
select
A string but only the first character is considered: "a" for annotate, "s" for substituted and "q" for questionable. Not case-sensitive.
Returns
True or False
Exceptions
None
Example
-
IsSet('att1', "a")
[Returns True if the value of 'att1' is annotated]
-
IsSet('att1', "s")
[Returns True if the value of 'att1' is substituted]]
-
IsSet('att1', "q")
[Returns True if the value of 'att1' is questionable]