Serialize inputs

Serialize inputs

Takes in a configurable number of asynchronous input events and outputs them using the first-in-first-out principle. Note that unlike end branch, this tool does not necessarily preserve the correct ordering of output objects if they originate from the same data source.

A typical use case for this tool is to work as an event source for a script that implements the application's main event processing logic. Asynchronous data sources such as data inputs and digital inputs are first connected to an event funnel which passes the input events with their indices and/or names to the script tool. The script decides the appropriate action based on the source and the value of the event.

Inputs

inputParameters
A table that defines dynamic input parameters. The first column contains the name of a parameter and the second one the data type of the parameter's value.

All dynamic inputs are required and asynchronous.

Outputs

value
Outputs the objects received in dynamic inputs in the order they appear.
index
The (zero-based) index of the input from which the object was received.
name
The name of the input from which the object was received.