Step/Iterate Integer Array Items
Jump to navigation
Jump to search
File:TArduinoStepIterateIntegerArrayItems.png
Summary
Steps through or iterates each item in an integer array one by one.
Description
The Step/Iterate Integer Array Items component allows sequential access to each element of an incoming integer array. Each trigger on the input advances to the next item, outputting it through the Out pin. When the end of the array is reached, the Empty pin triggers, and iteration can restart on the next input.
This component is ideal for processing array data one element at a time or performing indexed operations.
If Enabled is set to False, the component does not pass or process any data.
Diagram:
Properties
- Enabled – Enables or disables the component. When disabled, no data is passed through.
Pins
Input Pins
- In – Integer array input to be iterated through.
Output Pins
- Out – Outputs the current integer item from the array.
- Empty – Clock output triggered when all items have been iterated.
- Count – Outputs the total number of items in the array.
- Index – Outputs the current index position during iteration.
Categories
- File:TArduinoIntegerCategory.png Category Integer – Integer data handling and iteration.
- File:TArduinoArraysCategory.png Category Arrays – Array iteration and processing tools.
