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)

TagTypVal

  • Last UpdatedJan 11, 2023
  • 1 minute read

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

Syntax

TagTypVal(attname)

Arguments

  • attname

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

Returns

The point's typical value. If the point is an integer or real number, a number is returned; if the point's value type is digital, this indicates a digital state

Exceptions

If the point does not exist, returns an error

Example

  • TagTypVal('sinusoid')

    [Returns 50]

  • TagTypVal('cdm158')

    [Returns 3, a digital state]

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