Values sent on a wire
Blocks within a model are connected from block outputs to block inputs with wires.
Note:
These block outputs and inputs are also called
output ports and
input ports. See also
Adding a wire between two blocks.
Wires allow blocks to pass signals and values between blocks. The value sent on a wire is one of the following types, according to the block output from which it is connected:
Type | Description |
boolean | A true or false value. A Boolean value stays true or false until changed. |
float | A numeric value, which can be fractional (and processed using fixed precision). A float value maintains its current value until changed. |
string | A textual value. A string value maintains its current value until changed. |
pulse | A signal of a point in time. Pulses are only active momentarily. Unlike the above types, they only represent a single instance in time. See also
The pulse type. |
any | A value that may be any of the above types. See also
The any type. |
The type of a wire depends on the output to which it is connected. This can be viewed in the block reference. Similarly, the type (or supported types) of a block's input can be viewed in the block reference.