Exit
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
Stop the analysis from running further evaluation.
Syntax
Exit()
Arguments
None
Notes
-
It is important to include the parentheses after this function. Use Exit() instead of Exit.
-
Suppose you have multiple expressions within a single analysis or a sequence of analyses that forms a dependency chain. The calculation ends when it hits Exit.
-
Unlike Exit, which immediately exits out of the analysis, NoOutput will continue until it goes through every expression in an analysis.
Example
-
IF 'att1' < 100 OR 'att1' > 200 THEN 'att1' ELSE Exit()