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)

TagNum

  • Last UpdatedJan 11, 2023
  • 1 minute read

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]

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