📥

From

Signal Routing
Run the live example Free · no sign-up · runs in your browser

The From block is a wireless signal receiver that receives data transmitted by a matching Goto block sharing the identical tag identifier.

Using Goto and From blocks establishes virtual connections across a diagram, eliminating tangled feedback lines and long-distance wiring clutter while preserving strict signal mathematical equivalence.

Mathematical Model

The From block binds to the virtual signal bus register B[τ]\mathcal{B}[\tau] established by the corresponding Goto block with tag τ=tag\tau = \text{tag}:

y(t)={uGoto,τ(t),if matching Goto block with tag τ exists0,otherwisey(t) = \begin{cases} u_{\text{Goto}, \tau}(t), & \text{if matching Goto block with tag } \tau \text{ exists} \\ 0, & \text{otherwise} \end{cases}

The signal transfer introduces zero algorithmic delay and zero phase shift:

Δtrouting=0\Delta t_{\text{routing}} = 0

Inputs & Outputs

Direction ID Label Type Status
← Out out Out number Output

Parameters

Parameters Label Type Default Description
tag Tag text A

Usage Examples

Example 1: Wireless Plant State Telemetry Routing

Routing motor angular velocity from a dynamic plant model located on the far right of the canvas back to a speed controller comparator on the left. Placing a Goto block with tag = "omega" at the plant output and a From block with tag = "omega" at the controller input completes the feedback loop without crossing wires across the entire canvas.

Example 2: Broadcast Master Clock Distribution

Broadcasting an execution pulse or master setpoint from an orchestration block to multiple distributed subsystems. A single Goto block tagged "master_clock" transmits to several From blocks tagged "master_clock", allowing each subsystem to receive the clock signal cleanly.

Remarks & Best Practices

  • Zero Runtime Overhead: Goto/From pairs are resolved during diagram compilation into direct memory references, incurring zero numerical latency.
  • One-to-Many Fan-Out: A single Goto block can broadcast to an unlimited number of From blocks throughout the project.
  • Case Sensitivity: Tag matching is strictly case-sensitive; "velocity" and "Velocity" are treated as completely distinct signal channels.
  • Unconnected Fallback: If no Goto block with the specified tag exists, the From block safely outputs 0.0 without throwing a simulation runtime error.

Related Components

  • Goto: Wireless signal transmitter block.
  • InPort: Subsystem boundary input port.
  • Demux: Splits multi-channel vector buses into scalar connections.
  • Mux: Bundles multiple scalar lines into a vector connection.