TagNum
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
For an attribute associated with a PI point, get a point's number from the point database.
Syntax
TagNum(s1)
Arguments
-
string
The name of an attribute with a PI point data reference, enclosed in double quotes
Returns
The point's number
Exceptions
If the point does not exist, returns an error value
Example
-
TagNum("sinusoid")
[Returns 1]
-
TagNum("cdt158")
[Returns 3]