Measure Analog Array Length

From Visuino
Jump to navigation Jump to search

File:TArduinoMeasureAnalogArrayLength.png

Summary

The **Measure Analog Array Length** component calculates the number of elements in an analog array input and outputs this length as an integer.

Description

This component is useful for dynamically determining the size of an analog array during processing or for use in loops, indexing, or conditional operations. It simply counts the number of entries in the input analog array and provides the count on the output pin.

Diagram:

Properties

  • Enabled (boolean) – Enables or disables the component.

Pins

Input Pins

  • in (analog array) – Input analog array whose length is to be measured.

Output Pins

  • out (integer) – Length of the input analog array.

Categories