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

PI System Management Tools

Comparing the value of digital and numeric points to strings

Comparing the value of digital and numeric points to strings

  • Last UpdatedOct 04, 2024
  • 1 minute read

In performance equations, you can use expressions that compare the value of a digital or numeric point to a string. For example, if the string "Run" is in the state set for digital point PumpStatTag, then the following expression is valid:

If 'PumpStatTag' <> "Run" then 1 else 0

The state set for a numeric point is the System State Set. The System State Set is the default state set for all points and it contains a collection of all the states that any point can use, such as Shutdown, Over Range, and I/O Timeout.

For example, the following expression is true if the numeric point sinusoid contains the digital state Shutdown from the System Digital State Set.

'sinusoid' = "Shutdown"

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