TagDesc
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
For an attribute associated with a PI point, retrieve that point's descriptor from the point database.
Syntax
TagDesc(attname)
Arguments
-
attname
The name of an attribute with a PI point data reference, enclosed in single quotes
Returns
The point's descriptor
Exceptions
If the PI point does not exist, an error value is returned
Example
-
TagDesc('sinusoid')
[Returns 12 Hour Sine Wave]
-
TagDesc('cdt158')
[Returns Atmospheric Tower OH Vapor]