Block Group: | Logic |
Icon: | no icon |
The Repeater block returns a table that, for each row in an input table, lists the parameter values of an input dataflow symbol.
For information on using dataflow blocks, see Dataflow.
For information on creating dataflow repeaters, see Dataflow Symbols and Dataflow Repeaters.
The following properties of the Repeater block can take input and give output.
symbol specifies the dataflow symbol to repeat.
data specifies the table that determines the number of symbol instances and the properties of each symbol instance.
mode determines how the repeater handles data changes that happen during and after the rendering of the repeater.
onDone
. When a renderer stops, the symbol is used on a new input row, so the previous output row is not updated further. The repeater's output table is updated only after all input rows are done. If the input table changes before the output is finished, the new input will be in a pending state. The new processing will start after the first rendering is complete. If the input changes multiple times before it can be processed, only the last input will be in a pending state, and others are skipped.thread determines the number of renderers created for a repeater in threaded mode or stream mode.
streamQueue determines the size of the queue for a repeater in stream mode.
When symbol and data are defined, renderer properties appear that match the parameters of the symbol.
You can bind columns from the input table to the renderer properties by dragging and dropping the table column headings.
The following property of the Repeater block can give output but cannot take input.
output returns a table that lists the symbol parameter values for each instance of the symbol.
The following image shows a Repeater block. In this example, the input table’s columns are bound to the sum term properties, and the output table includes a product column.