TagName
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2018
- PI Server
For an attribute associated with a PI point, get a point's name from the point database.
Syntax
TagName(attname)
Arguments
-
attname
The name of an attribute with a PI point data reference, enclosed in single quotes
Returns
The name of the PI point associated with attname
Exceptions
If the PI point does not exist, an error value is returned
Example
-
TagName('sinusoid')
[Returns SINUSOID]
-
TagName('cdt158')
[Returns CDT158]