Find Last Unsigned Array Position: Difference between revisions

From Visuino
Jump to navigation Jump to search
Created page with "Image:TArduinoFindLastUnsignedArrayPosition.png == Summary == Finds the index of the last occurrence of a specified unsigned value within an unsigned array. == Description == The **Find Last Unsigned Array Position** component searches the input unsigned array for matching values defined in the **Value Elements**, starting from the end of the array. It outputs the index of the last occurrence found. If no match is found, the **Missing** pin triggers...."
 
(No difference)

Latest revision as of 00:44, 15 September 2025

File:TArduinoFindLastUnsignedArrayPosition.png

Summary

Finds the index of the last occurrence of a specified unsigned value within an unsigned array.

Description

The **Find Last Unsigned Array Position** component searches the input unsigned array for matching values defined in the **Value Elements**, starting from the end of the array. It outputs the index of the last occurrence found. If no match is found, the **Missing** pin triggers.

Diagram:

Properties

  • Enabled – Enables or disables the component.
  • Value Elements – Defines the unsigned values to search for in the input array. Value elements can be of type **Value** or **Value Mitov**.

Pins

Input Pins

  • In – Input unsigned array to search.

Output Pins

  • Out – Index of the last found unsigned value in the array.
  • Missing (clock) – Triggered if the value is not found.