Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Analytics and Notifications for PI System Explorer (PI Server 2024 R2)

TagSpan

  • Last UpdatedJan 11, 2023
  • 1 minute read

For an attribute associated with a PI point, get a point's span from the point database.

Syntax

TagSpan(attname)

Arguments

  • attname

    The name of an attribute with a PI point data reference, enclosed in single quotes

Returns

The point's span. If the point's type is digital, returns an integer whose value is the number of digital state defined for the point.

Example

  • TagSpan('sinusoid')

    [Returns 100]

  • TagSpan('cdt158')

    [Returns 200]

In This Topic
TitleResults for “How to create a CRG?”Also Available in