Measure Integer Array Length

From Visuino
Jump to navigation Jump to search

File:TArduinoMeasureIntegerArrayLength.png

Summary

Measures and outputs the number of elements in an integer array.

Description

The Measure Integer Array Length component calculates the total number of elements in the incoming integer array connected to the In pin. It outputs this count as an integer value through the Out pin.

This component is useful when dynamically processing arrays of varying sizes, allowing other components to adapt based on the array length.

Diagram:

Properties

  • Enabled – Enables or disables the component. When disabled, the component passes no output.

Pins

Input Pins

  • In – Integer array input to be measured.

Output Pins

  • Out – Integer output representing the number of elements in the array.

Categories