Signal Selection
This topic describes the Signal Selection component.
Features
The Signal Selection component selects an input signal based on one of four rules: maximum, minimum, mean, or median.
Calculation logic
Maximum: Selects and outputs the input signal with the highest value.
Minimum: Selects and outputs the input signal with the lowest value.
Mean: Calculates and outputs the average value of all input signals.
Median: Calculates and outputs the median value of all input signals.
Parameters
IN port - Input parameters
Parameter | Description | Required | Data Type | Data Source Type |
IN | Select the input signal. | Yes | Integer or floating-point number Note An exception is thrown if non-numeric data exists. | Any |
OUT port - Output parameters
Parameter name | Description | Output Data Type |
OUT | The output signal. | Floating-point number |
Other parameters
Parameter | Description | Required | Default Value | Valid Values |
Selection type | The rule for selecting from candidate signals. Maximum outputs the signal with the highest value. Minimum outputs the signal with the lowest value. Mean outputs the average of all signal values. Median outputs the median of all signal values. | Yes | Maximum |
|
Output quality code description
The quality code of the output signal is determined as follows:
If the quality codes of all input signals are >= 192, the quality code of the output signal is 192.
If the quality code of any input signal is in the range [0, 192), the quality code of the output signal is 0.
If all input signal quality codes are -1, or if some are -1 and the rest are >= 192, the quality code of the output signal is -1.