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)

Asin

  • Last UpdatedJan 11, 2023
  • 1 minute read

Return the inverse sine (arcsin) of a number. The inverse sine of x is the angle in radians whose sine is equal to x.

Syntax

Asin(x)

Arguments

  • x

    Must be a real number between -1.0 and 1.0, inclusive

Returns

The inverse sine of x, in radians

Exceptions

If x is not a number, or is less than -1.0 or greater than 1.0, an error value is returned

Example

  • Asin(-0.5)

    [Returns -0.5236]

  • Asin(TagVal('att1','y+8h'))

    [Return the inverse sine of the value of 'att1' at 8am yesterday]

  • Asin('att1')

    [Return the inverse sine of the value of 'att1' at trigger time]

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