For

Z Wiki
Verze z 28. 1. 2021, 20:40, kterou vytvořil BakerD (diskuse | příspěvky) (Založena nová stránka s textem „Delay in milliseconds before executing the command. It has no effect if Enabled=0.“)
Přejít na: navigace, hledání
Jiné jazyky:
English • ‎čeština

Description

Alias: FOR

Loop with an adjustable number of steps.

First, it sets the value according to the InitialValue parameter. Unless the value is greater than FinalValue, it starts the loop body and increases the value at the end by Increments. The behavior of the command when an error occurs in the body of the loop is affected by the ContinueOnError parameter. The FlowName and FlowDescription parameters allow user names and descriptions of individual waveforms of the loop body that can be used in the report template.

Input parameters

FlowName

Type String

Specifies the name of individual waves of the loop body.

FlowDescription

Type String

Specifies the descriptions of individual waveforms of the loop body.

InitialValue

Type Number

Initial value.

FinalValue

Type Number

Final value.

Increment

Type Number

Increase in value after passing through the loop.

ContinueOnError

Type Number

Error response mode in the loop body (0=do not continue, 1=continue absorbing errors, 2=continue but fail). With a non-null value, the loop continues through another waveform, even if an error occurs in its body. Each error will be absorbed, with the exception of mode 2, where the last error will be passed on after the loop completes.

Enabled

Type Number

Enables or disables the command. If the value is 0, the command will not be executed.

PreWait

Type Number

Delay in milliseconds before executing the command. It has no effect if Enabled=0.

PostWait

Type Number

Delay in milliseconds before executing the command. It has no effect if Enabled=0.

Výstupní parametry

Value

Typ Number

Aktuální hodnota.