Find All Analog Array Positions

From Visuino
Revision as of 08:03, 12 November 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoAnalogArrayFindAllPositions.png == Summary == Finds all positions (indexes) of matching analog values within an input array. == Description == The **Find All Analog Array Positions** component searches through the incoming analog array on its **In** pin and identifies all indexes where the array elements match any of the configured **Value Elements**. The resulting list of indexes is output as an **Unsigned Array**. This component is useful for lo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoAnalogArrayFindAllPositions.png

Summary

Finds all positions (indexes) of matching analog values within an input array.

Description

The **Find All Analog Array Positions** component searches through the incoming analog array on its **In** pin and identifies all indexes where the array elements match any of the configured **Value Elements**. The resulting list of indexes is output as an **Unsigned Array**. This component is useful for locating all occurrences of specific analog values in sensor data, filtered arrays, or measurement sets.

Diagram:

Properties

  • Enabled – Enables or disables the component.
  • Value Elements – Click the **…** button to open the elements window and add **Value** elements that define which analog values to search for.

Pins

Input Pins

  • In – Analog array input to be scanned for matching values.

Output Pins

  • Out – Unsigned array output containing the positions (indexes) of all matching values.

Categories