ValueCollector is a module that copies single values from the process() stage to an array in the global() stage. This can be useful for storing values measured during the process() stage, and doing global analysis or I/O. The output will be an array of values with a length equal to the number of times the process() stage ran.
Currently this module only works with variables of type double.
Parameters
| Name | Type | Description |
|---|---|---|
| InputBlock | string | Name of block in event containing the desired variable. |
| InputVariable | string | Name of the single-valued variable that should be collected. |
| OutputBlock | string | Name of destination block in global. |
| OutputVariable | string | Name of variable to create to contain the collected values. This will be an array. |
Inputs
| Name | Type | Description |
|---|---|---|
| InputBlock/InputVariable | double | Value to collect. |
Outputs
| Name | Type | Description |
|---|---|---|
| OutputBlock/OutputVariable (global) | double* | Array of the values of the input during the process() stage. |