Appearance
Min / Max Int
Outputs the smallest (Min) or largest (Max) of 2 to 5 int inputs. The number of input ports follows the Inputs setting. Use it to pick the highest-priority mode number, the lowest counter value or to combine int flags (Max acts as OR and Min as AND on 0/1 flags). To work on double signals, use Min / Max Double.
Category: Math
Ports
| Port | Kind | Signal | Notes |
|---|---|---|---|
in_1 | Control input | Integer | |
in_2 | Control input | Integer | |
in_3 | Control input | Integer | Shown when Inputs is at least 3 |
in_4 | Control input | Integer | Shown when Inputs is at least 4 |
in_5 | Control input | Integer | Shown when Inputs is at least 5 |
out | Control output | Integer |
Parameters
| Parameter | Type | Default | Units | Description | ID |
|---|---|---|---|---|---|
| Operation | Choice: Min / Max | Min | — | Min = output the smallest input. Max = output the largest input. | op |
| Inputs | Choice: 2 / 3 / 4 / 5 | 2 | — | How many input ports the block has (2-5). | num_inputs |