Find Last Integer Array Position
File:TArduinoIntegerArrayFindLastPosition.png
Summary
Finds the last position of a specified integer value within an integer array input.
Description
The **Find Last Integer Array Position** component scans the incoming integer array from the **In** pin and searches for the last occurrence of the specified **Value Elements**. If a match is found, its index position is sent to the **Out** pin. If no match is found, the **Missing** clock output is triggered. This component is useful for identifying the most recent or last matching value in an integer array, enabling reverse searches and conditional indexing.
Diagram:
Categories
- File:TArduinoIntegerCategory.png Category Integer – Integer data processing and search operations.
- File:TArduinoArraysCategory.png Category Arrays – Array indexing and data manipulation.
Properties
- Enabled – Enables or disables the component.
- Value Elements – Click the **…** button to open the **Elements Window** and add **Value** elements representing the integer values to search for.
Pins
Input Pins
- In – Integer array input to be searched.
Output Pins
- Out – Integer output representing the index position of the last match.
- Missing – Clock output triggered when the specified value is not found in the array.
