Binary To Text: Difference between revisions
Jump to navigation
Jump to search
Created page with "Image:TArduinoBinaryToText.png == Summary == Use this component to convert binary data into a formatted text string using the selected base and formatting options. == Description == The **Binary To Text** component formats incoming binary values as text. You can choose the numeric **Base** (e.g., 2, 8, 10, 16), control padding with **Min Digits**, wrap the value with **Begin Text** and **End Text**, and optionally insert a **Separator Text** between grouped values...." |
No edit summary |
||
Line 7: | Line 7: | ||
The **Binary To Text** component formats incoming binary values as text. You can choose the numeric **Base** (e.g., 2, 8, 10, 16), control padding with **Min Digits**, wrap the value with **Begin Text** and **End Text**, and optionally insert a **Separator Text** between grouped values. | The **Binary To Text** component formats incoming binary values as text. You can choose the numeric **Base** (e.g., 2, 8, 10, 16), control padding with **Min Digits**, wrap the value with **Begin Text** and **End Text**, and optionally insert a **Separator Text** between grouped values. | ||
If **Enabled** is **False**, the component is disabled and nothing is passed through. | If **Enabled** is **False**, the component is disabled and nothing is passed through. | ||
*Upper Case** affects alphabetic digits for bases above 10 (e.g., A–F for hexadecimal). **Max size** limits the length of the produced text to prevent overly long outputs. | |||
<b>Diagram:</b> | <b>Diagram:</b> | ||
Latest revision as of 04:57, 13 August 2025
Summary
Use this component to convert binary data into a formatted text string using the selected base and formatting options.
Description
The **Binary To Text** component formats incoming binary values as text. You can choose the numeric **Base** (e.g., 2, 8, 10, 16), control padding with **Min Digits**, wrap the value with **Begin Text** and **End Text**, and optionally insert a **Separator Text** between grouped values. If **Enabled** is **False**, the component is disabled and nothing is passed through.
- Upper Case** affects alphabetic digits for bases above 10 (e.g., A–F for hexadecimal). **Max size** limits the length of the produced text to prevent overly long outputs.
Diagram:
Categories
- File:TArduinoBinaryCategory.png Category Binary - Components related to binary data processing
Properties
- Base – Number base used for conversion (default: 10).
- Begin Text – Text prepended to the formatted value (default: "(").
- End Text – Text appended to the formatted value (default: ")").
- Enabled – When **False**, the component is disabled and no data is passed through.
- Max size – Maximum length of the output text (default: 32).
- Min Digits – Minimum number of digits; pads with leading zeros if needed (default: 0).
- Separator Text – Separator inserted between grouped values (default: ".").
- Upper Case – When **True**, use uppercase alphabetic digits for bases > 10.
Pins
- In – Binary input value to convert.
- Out – Text output containing the formatted representation.