DataLoop

Z Wiki
Verze z 27. 1. 2021, 18:32, kterou vytvořil BakerD (diskuse | příspěvky) (Založena nová stránka s textem „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, even…“)
Přejít na: navigace, hledání
Jiné jazyky:
English • ‎čeština

Description

Alias: DL

Loop through all data source records.

The loop body starts for each record from the data source specified by the parameter DataSource. The behavior of the command when an error occurs in the loop body affects the parameter ContinueOnError. The parameters FlowName and FlowDescription allow user names and descriptions for individual waveforms of the loop body to be used in the report template.

Input parameters

FlowName

Type String

Specifies the naming of individual waveforms of the loop body.

FlowDescription

Type String

Specifies the descriptions of individual waveforms of the loop body.

DataSource

Type DataSource

Data source. Sets the output parameters for each record and starts the loop body.

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, even if an error occurs in the body. Each error will be absorbed, except for mode 2, where the last error will be passed on after the loop completes.

Enabled

Typ Number

Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.

PreWait

Typ Number

Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.

PostWait

Typ Number

Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.

Výstupní parametry

Record

Typ Number

Pořadové číslo záznamu. Pro první záznam má hodnotu 1, pro druhý 2, atd.