Analog Array To Text

From Visuino
Revision as of 04:19, 8 September 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoAnalogArrayToText.png == Summary == Converts an analog array into a formatted text string. == Description == The Analog Array To Text component takes an input analog array and converts its elements into a single text string. You can configure formatting options such as beginning and ending text, element separators, digit precision, and minimum width. This is useful for logging, display on text-based interfaces, or sending analog array data over te...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoAnalogArrayToText.png

Summary

Converts an analog array into a formatted text string.

Description

The Analog Array To Text component takes an input analog array and converts its elements into a single text string. You can configure formatting options such as beginning and ending text, element separators, digit precision, and minimum width. This is useful for logging, display on text-based interfaces, or sending analog array data over text protocols.

Diagram:

Properties

  • Begin Text (default "(") – Text prepended at the start of the output string.
  • End Text (default ")") – Text appended at the end of the output string.
  • Digits – Formatting options for each element:
    • Min Width (default 1)** – Minimum number of digits per element.
    • Precision (default 5)** – Number of decimal places for each element.
  • Element Prefix – Optional text prepended to each element.
  • Separator Text (default ".") – Text separating array elements.
  • Max Size (default 32) – Maximum allowed characters in output string.
  • Min Digits (default 0) – Minimum number of digits displayed per element.
  • Enabled – Enables or disables the conversion.

Pins

Input Pins

  • In (analog array) – Analog array input to be converted.

Output Pins

  • Out (text) – Formatted text output representing the array.

Categories