Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI System Management Tools

Comparing operands of different types

  • Last UpdatedOct 04, 2024
  • 1 minute read

When you use the <> operator to compare any two operands of different types, the expression always returns a 1 (that is, true). When you use any other relational operator (anything except <>) to compare two operands of different types, the expression returns a 0 (that is, false) except in the following case:

If one of the two operands is the digital type, then the PI Performance Equation Scheduler compares the digital operand to the digital state of the other operand, if it exists. For example:

'sinusoid' = DigState("Shutdown")

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