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)

Pow

  • Last UpdatedJan 11, 2023
  • 1 minute read

Return x raised to the power y.

Syntax

Pow(x, y)

Arguments

  • x

    numeric value

  • y

    numeric value

Returns

The value of x raised to the power y

Exceptions

None

Notes

  • The Pow function only works in PI Asset Framework (PI AF) asset analytics expression functions. Use caret (^) operator for same effect in Data Archive performance equations

  • Both Pow(2, 3) and 2^3 are acceptable in PI AF asset analytics expression functions

Example

  • Pow(2, 3)

    [Returns 8]

  • Pow(2.5, 3)

    [Returns 15.625]

  • Pow(TagVal('att1', '*'), 8)

    [Return the current value of 'att1' raised to the power 8]

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