TagEU
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
For an attribute associated with a PI point, retrieve the point's engineering unit string from the point database.
Syntax
TagEU(attname)
Arguments
-
attname
The name of an attribute with a PI point data reference, enclosed in single quotes
Returns
The PI point's engineering units
Exceptions
If the PI point does not exist, an error values is returned
Notes
Returns blank when PI point lacks an engineering unit
Example
-
TagEU('cdt158')
[Returns DEG.C]