Get Integer Array Item At Index: Difference between revisions

From Visuino
Jump to navigation Jump to search
Created page with "Image:TArduinoIntegerArrayGetItemAtIndex.png == Summary == Retrieves an integer value from an array at the specified index. == Description == The **Get Integer Array Item At Index** component outputs the integer value located at the specified **Index** position in the incoming integer array. If the index is valid, the corresponding array element is sent to the **Out** pin. If the index is outside the array range, the **Out of Range** clock pin is triggered. T..."
 
(No difference)

Latest revision as of 05:34, 13 November 2025

File:TArduinoIntegerArrayGetItemAtIndex.png

Summary

Retrieves an integer value from an array at the specified index.

Description

The **Get Integer Array Item At Index** component outputs the integer value located at the specified **Index** position in the incoming integer array. If the index is valid, the corresponding array element is sent to the **Out** pin. If the index is outside the array range, the **Out of Range** clock pin is triggered. This component is useful for selectively reading values from dynamic or fixed-size integer arrays.

Diagram:


Properties

  • Enabled – Enables or disables the component.
  • Ignore Out Of Range – If enabled, suppresses the **Out of Range** signal when the index is invalid.
  • Index – The integer index position of the desired array element.

Pins

Input Pins

  • In – Integer array input.

Output Pins

  • Out – Integer output value at the specified index.
  • Empty – Clock output triggered when the input array is empty.
  • Out of Range – Clock output triggered when the specified index is outside the array range.

Categories