Apama Analytics Builder for Cumulocity IoT 10.3.1 | Apama Analytics Builder for Cumulocity IoT Documentation | Using Apama Analytics Builder for Cumulocity IoT | Understanding Models | Blocks
 
Blocks
 
Input blocks
Output blocks
Processing blocks
Blocks are the basic processing units of the model. Each block has some predefined functionality and processes data accordingly. A block can have a set of parameters and a set of input ports and output ports.
The palette of the model editor offers for selection the following types of blocks:
*Input blocks, which receive data from external sources. An input block normally represents a device that has been registered in the Cumulocity IoT inventory. See also Input blocks.
*Output blocks, which send data to external sources. An output block normally represents a device that has been registered in the Cumulocity IoT inventory. See also Output blocks.
*Processing blocks, which receive data from the input blocks and send the resulting data to the output blocks. See also Processing blocks.
A block can receive data from another block through its input ports. A block can send data to another block through its output ports. Different blocks will have different numbers of input or output ports, and some blocks have only input ports or only output ports. For most blocks, it is not required to connect all of the input or output ports.
A block can have configurable parameters that define the behavior of the block. These parameters are either optional or mandatory, depending on the requirement of the block.
When using the same block multiple times, you can specify different values for the same parameter. For example, the Threshold block has a configurable parameter named Threshold Value. If you are using two instances of the Threshold block and configure this parameter differently for each block, the blocks will report different breaches of the threshold.
Note: Two output ports cannot be connected to same input port, whereas one output port can be connected to multiple input ports.

Copyright © 2018-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.