Array Decision
The Array Decision tool takes an array of measurements as input and applies individual minimum / maximum thresholds to one or more of the array elements. The tool returns results related to fails (number of fails, index and value of max/min fail, as well as arrays of failed measurements and their indices).
A common use case of Array Decision is to make pass/fail decisions for electronics pin inspection applications.
For general information on the Array tools, see Array Tools.
For information on adding, managing, and removing tools, as well as detailed descriptions of settings common to most tools, see Tool Configuration.
Inputs
Name | Description |
---|---|
Measurement |
The array of measurements the tool takes as input. |
Parameters
The following parameters are in the expandable Parameters section in the tool's configuration.
Parameter | Description |
---|---|
Measurement Count |
The maximum number of array elements expected in the input array. The tool displays Min{n} and Max{n} fields for each element. |
Min {n} Max {n} |
The minimum and maximum threshold for measurement element {n} in the input array of measurements. |
External ID |
The external ID of the tool that appears in GoHMI Designer. For more information, see GoHMI and GoHMI Designer. |
Outputs
Measurement |
---|
Fail Count The number of array values that are outside their Min/Max thresholds. |
Min Fail Index The index of the array element with the greatest difference with respect to its Min threshold. |
Min Fail Value The value of the array element at Min Fail Index. |
Max Fail Index The index of the array element with the greatest difference with respect to its Max threshold. |
Max Fail Value The value of the array element at Max Fail Index. |
Failed Indices An array of the indices of the failed measurements. |
Failed Measurements An array of the failed measurement values. |