Find Last Unsigned Array Position

From Visuino
Revision as of 00:44, 15 September 2025 by Visuino (talk | contribs) (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....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.