Complex Array To Text

From Visuino
Jump to navigation Jump to search

File:TArduinoComplexArrayToText.png

Summary

Converts a complex array into a formatted text string with customizable separators and formatting.

Description

The **Complex Array To Text** component transforms an incoming complex array into a text string. Each element of the array is converted into its textual representation, formatted according to the specified **Digits** and surrounded with optional **Begin Text**, **Element Prefix**, **Separator Text**, and **End Text** strings.

This component is useful for debugging, logging, or exporting complex array values into human-readable formats.

Diagram:

Categories

Properties

  • Begin Text – Text placed at the beginning of the output (example: "(").
  • Digits – Controls formatting of numeric output:
    • • Min Width (integer)** – Minimum number of digits to display.
    • • Precision (integer)** – Number of digits after the decimal point.
  • Element Prefix – Optional text prefix added before each element.
  • Enabled – Enables or disables the component.
  • End Text – Text placed at the end of the output (example: ")").
  • Max Size – Maximum size of the output text (default: 32).
  • Min Digits – Minimum number of digits to display before the decimal point.
  • Separator Text – Text inserted between elements (default: ".").

Pins

Input Pins

  • In – Complex array input to be converted into text.

Output Pins

  • Out – Text output representing the formatted complex array.