Reference

Constant

Outputs a fixed value of a chosen type.

Category
Data
Topics
Scheduler
01

Ports

Constantdata
  • None
  • Valueauto
Ports Control Data
Data types string number bool

Strings accept any data input.
Numbers accept boolean input.

02

Fields

Field What it does Default Limits
Type How the value is read, which also sets the type of the Value port. String
  • String
  • Float
  • Integer
  • Boolean
Value The text to output, read as the chosen type. None Float must be a number and Integer a whole number.
03

What a run does

This block has no control ports.
It runs when a block that uses its Value runs.

Type Value output Port type
String The text as it is. string
Float The text as a number, decimals allowed. number
Integer The text as a whole number, digits only. number
Boolean 1 for the text true or 1, 0 for anything else. bool

Boolean matches the text exactly, so True counts as false.
A Float or Integer value that does not parse sets no output.
No error is shown, and the block that would use the value uses its own field instead.