Pulse
apama.analyticskit.blocks.core.Pulse
Converts a non-pulse input into a pulse output.
This is useful with blocks which consume both pulse and non-pulse values, and where the input value is treated as non-pulse without the explicit conversion.
For example, a numeric value passed to the OR block is treated as true if non-zero (as described in the “Type conversions” topic of the Analytics Builder documentation). However, when passing a numeric value to the Pulse block and then connecting the output of the Pulse block to the OR block, the numeric value is converted to a pulse so the OR block sends a pulse. The block can be configured to send a pulse if the value changes (default pulse conversion behavior), on every input, or on every non-zero value.
Parameters
Name | Description | Type | Notes |
Mode | Controls when the block sends a pulse. | Option - one of: On value change On every input On non-zero values | Default: On value change |
Input Port Details
Name | Description | Type |
Value | The input to treat as pulse. | any |
Output Port Details
Name | Description | Type |
Pulse | The output pulse value converted from the input value. | pulse |