> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-library/orchestra_proxy_simulink.md).

# Orchestra\_Proxy\_Simulink

## Description

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-09c0c69fd51bae73c7c263f9968bb05c847f3683%2FRTL_orchestra_proxy_simulink_block.png?alt=media" alt=""><figcaption></figcaption></figure>

The **Orchestra\_Proxy\_Simulink** block, located in the **RT-LAB/Orchestra/Proxy** library, exchanges data between the RT-LAB Orchestra framework and Simulink External Components. It acts as a bridge between the current model and External Components.

## Mask parameters

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-f58422f7796f069c5ab6d026304b6f4baaad8ce3%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="264.9090576171875">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>XML file</strong></td><td>Name of the file used to read data information. Click Configure to start the <strong>DDF Configurator</strong>.</td></tr><tr><td><strong>Sample time</strong></td><td>Block sample time. Sets the rate at which data is exchanged with External Components.</td></tr><tr><td><strong>Domain name</strong></td><td>Domain name used in the DDF.</td></tr><tr><td><strong>Work in Simulink mode</strong></td><td>Enable or disable the connection to the RT-LAB Orchestra framework when running the model outside an RT-LAB Orchestra co-simulation.</td></tr><tr><td><strong>Create Goto/From subsystems</strong></td><td>Create the Goto and From blocks for all items described in the XML file under the FRAMEWORK_TO_CLIENT and CLIENT_TO_FRAMEWORK sections of the selected domain.</td></tr></tbody></table>

## Inputs

<table><thead><tr><th width="143.0909423828125">Input</th><th>Description</th></tr></thead><tbody><tr><td><strong>Wait-to-go</strong></td><td>- Controls when the External Component connects and starts publish/subscribe.<br>- Value 1 holds the client; switching to 0 releases it (falling edge starts data exchange).<br>- If unconnected or set to a constant 0, the default behavior is to publish and subscribe upon connection.<br>- Can be used to synchronize multiple domains.</td></tr></tbody></table>

{% hint style="danger" %}
In synchronous mode, using the Wait-to-go feature may block the framework and cause overruns.

If the Wait-to-go input is used to synchronize RT-LAB-based clients, disable the watchdog for the client models to avoid undesired simulation failures.
{% endhint %}

## Outputs

<table><thead><tr><th width="254.90911865234375">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>Output#1: ConnectionCount</strong></td><td>Number of External Components connected to the framework. In synchronous use, this output is incremented before blocking while waiting for the Wait-to-go input. This is neither the number of active connections nor the number of attempted ones.</td></tr><tr><td><strong>Output#2: ConnectionIsActive</strong></td><td>Status of the connection with an External Component. The value is 0 if no External Component is connected to the framework; otherwise, the value is 1.</td></tr></tbody></table>

{% hint style="info" %}
You can use the ConnectionCount output of Proxy blocks and a Nand gate to control the Wait-to-go input and synchronize multiple domains within the framework.
{% endhint %}

## Characteristics and limitations

<table><thead><tr><th width="189.45452880859375">Characteristic</th><th>Value</th></tr></thead><tbody><tr><td>Direct Feedthrough</td><td>Yes</td></tr><tr><td>Discrete sample time</td><td>Yes</td></tr><tr><td>XHP support</td><td>Yes (Partial XHP only)</td></tr><tr><td>Work offline</td><td>Yes</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-library/orchestra_proxy_simulink.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
