TagSpan (Tag-based PE function)
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Get a point's span from the Point Database.
Syntax
TagSpan(tagname)
Arguments
tagname
A tagname.
Returns
The point's span. If the point's type is Digital this is an integer whose value is the number of digital states defined for the point.
Example
TagSpan('tag1')
TagSpan('digitaltag')