DataLoop/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Type DataSource“)
(Založena nová stránka s textem „Sequence number of the record. It has a value of 1 for the first record, 2 for the second, etc.“)
 
(Není zobrazeno 12 mezilehlých verzí od stejného uživatele.)
Řádek 9: Řádek 9:
 
'''Loop through all data source records.'''
 
'''Loop through all data source records.'''
  
Each record from the data source specified by the parameter [[#datasource-| DataSource]] triggers the body of the loop. The behavior of the command when an error occurs in the body of the loop affects the parameter [[#continueonerror-| ContinueOnError]]. The parameters [[#flowname-| FlowName]] a [[#flowdescription-| FlowDescription]] allow user names and descriptions of individual waveforms of the body of the loop to be used in the report template.
+
The loop body starts for each record from the data source specified by the parameter [[#datasource-| DataSource]]. The behavior of the command when an error occurs in the loop body affects the parameter [[#continueonerror-| ContinueOnError]]. The parameters [[#flowname-| FlowName]] and [[#flowdescription-| FlowDescription]] allow user names and descriptions for individual waveforms of the loop body to be used in the report template.
  
 
== Input parameters ==
 
== Input parameters ==
Řádek 30: Řádek 30:
 
Type [[Special:MyLanguage/Data types#DataSource | DataSource]]
 
Type [[Special:MyLanguage/Data types#DataSource | DataSource]]
  
Datový zdroj. Pro každý záznam nastaví výstupní parametry a spustí tělo smyčky.
+
Data source. Sets the output parameters for each record and starts the loop body.
  
 
<span id="continueonerror-"></span>
 
<span id="continueonerror-"></span>
 
=== ContinueOnError ===
 
=== ContinueOnError ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Režim reakce na chybu v tělě smyčky (0=nepokračovat, 1=pokračovat absorbujíce chyby, 2=pokračovat ale selhat). Při nenulové hodnotě smyčka pokračuje dalším průběhem, i když dojde v jejím těle k chybě. Každá chyba bude pohlcena, s výjimkou režimu 2, kdy bude po dokončení smyčky poslední chyba předána dále.
+
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 ===
 
=== Enabled ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.
+
Enables or disables the command. If the value is 0, the command will not be executed.
  
 
=== PreWait ===
 
=== PreWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing a command. It has no effect if Enabled=0.
  
 
=== PostWait ===
 
=== PostWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing a command. It has no effect if Enabled=0.
  
== Výstupní parametry ==
+
== Output parameters ==
  
 
=== Record ===
 
=== Record ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Pořadové číslo záznamu. Pro první záznam má hodnotu 1, pro druhý 2, atd.
+
Sequence number of the record. It has a value of 1 for the first record, 2 for the second, etc.

Aktuální verze z 27. 1. 2021, 18:35

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

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 a command. It has no effect if Enabled=0.

PostWait

Type Number

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

Output parameters

Record

Type Number

Sequence number of the record. It has a value of 1 for the first record, 2 for the second, etc.