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 2018)

TagZero

  • Last UpdatedJan 11, 2023
  • 1 minute read

For an attribute with a PI point data reference, get a PI point's "zero" value from the point database.

Syntax

TagZero(attname)

Arguments

  • attname

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

Returns

The point's zero value. If the point type is integer or real number, this is a number; if the point's type is digital, this is a digital state (character string)

Exceptions

If the point does not exist, returns an error

Example

  • TagZero('sinusoid')

    [Returns 0]

  • TagZero('cdt158')

    [Returns 50]

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