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

PI System Management Tools

Type checking

  • Last UpdatedOct 04, 2024
  • 1 minute read

At compile time, the PE Scheduler checks type compatibility as far as is possible. This process catches some errors, such as trying to add a number to a character string.

However, not all type compatibility errors can be detected at compile time. The expression

'sinusoid' / 2.0

works well if sinusoid has a numeric value. However, if sinusoid is equal to the digital state Shutdown the expression returns an error (Calc Failed).

Note: Comparisons (expressions using relational operators) are an exception to this rule. Every comparison is valid, regardless of its operand types.

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