String


Introduction

The String Message Type is based on the Javascript implementation (Read more).


Example Data

  • Any

  • Text is a

  • String


Converts to

Message Type

Data

Message Type

Data

https://quantumintegrate.atlassian.net/wiki/spaces/HELP/pages/396296230

if present converts to true, otherwise to false

https://quantumintegrate.atlassian.net/wiki/spaces/HELP/pages/396296237

Always triggers

https://quantumintegrate.atlassian.net/wiki/spaces/HELP/pages/396099616

Converts only -1,0 and 1 to a valid Tristate

Converts only Strings that fit into the 0, 4095 range and that correctly convert into a Number. Examples:

'iamaString' does not convert

'100' does convert

'5000' does not convert

Converts only Strings that fit into the 0, 100 range and that correctly convert into a Number. Examples:

'iamaString' does not convert

'50' does convert

'5000' does not convert

Converts all Strings that are Numbers and converts strings correctly that have F (Fahrenheit) or C (celsius) as a suffix.

Converts all Strings that are Numbers and converts strings correctly that have I (inches) or cm (metric) as a suffix.

Converts all Strings that can be parsed to a Float.

Directly converts

Converts all Strings that can be parsed to Integer and that have an even amount of characters

Converts all Strings that can be parsed to Integer and are in range. Uses the String for the Degree Setting.

Directly converts hexadecimal Strings example: #FFFFFF

Is able to convert color names like:
teal, violet, red, brown etc.

Full List:

Just like the Color conversion. If multiple colors present like #FF0000#0000FF LEDs are turned on accordingly

Directly converts if string is a single character from 0-F

Clears Display and shows Text on screen

Directly converts numbers

Parses String to Float if applicable and in range

Parses String to Float if applicable

Parses String to Float that fit into Range (-255, 255)

Converts all Strings that are Numbers and converts strings correctly that have inHg (inches per mercury) or p (pascal) as a suffix.

Parses String to Float

Any Signal that is not mentioned on the table above should not be able to convert.


Debug View

In the Debug View values can be written to or read from the drivers on the Builder Base directly.

The string message is not used in any driver at this point.