52.22.2 While
Condition Type property:
Count: Fixed number of iterations. Time: Fixed execution time. When this duration expires, the while loop does not terminate immediately; rather, the current turn is completed first. (The running time is compared to the limit before a new turn begins.) Event: The while loop is terminated when any of the selected events is reported by the selected equipment. Information Element: The while loop is terminated when the condition of selected value does not evaluate to true. Required fields named Equipment and Information Element appear where you specify the desired information element and the device that should report it. Depending on information element selected, additional fields is shown. If information element values are a fixed amount of values a Value field appear. It contains a drop-down list with possible values to choose. Otherwise two additional fields Operator and Value appear. Setup desired condition by combining operator with appropriate value. Combined: Select this to define a more complex termination condition in the form of a boolean expression combining instances of the other available criteria. Additional fields appear as follows; the structure can be expanded recursively: Condition 1: A subcondition of type Count, Time or Event, or another Combined condition. Operator: Boolean operator: And or Or. Condition 2: A subcondition of type Count, Time or Event, or another Combined condition. Infinite: This option causes the script to run indefinitely. The script can then be stopped in the following ways:
If an error occurs while running the script, and the On Failure property is set to "Stop script execution". By the user stopping the script manually. |