Table of Contents

Repeater

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.


Input/Output Properties

The following properties of the Repeater block can take input and give output.

thread, streamQueue and keyColumn are not shown on the block; edit them in the Properties panel.

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 (default normal) determines how the repeater handles data changes that happen during and after the rendering of the repeater.

thread determines the number of renderers created for a repeater in threaded mode or stream mode. The default is 1.

streamQueue determines the maximum size of the queue for a repeater in stream mode. When the queue is longer, the oldest rows are dropped. The default is 0 (no limit).

keyColumn specifies a column of the input table that identifies each row, in normal mode. When it is set, a renderer is reused for the row with the same key when the input table changes, even if the row moves. Rows whose key is null or repeats an earlier key are skipped.


Renderer Properties

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.


Output Property

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.

currentQueue returns the number of rows waiting in the queue in stream mode. It is not shown on the block.


Example

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.

Repeater dataflow model