> 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/efpgasim-library/simulink-sps-workflow/rt-xsg-scope-series.md).

# RT-XSG Scope Series

## Description

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-ba59d4ecbcef6ce6804a3a44bc63f59a79a05c82%2Fsps-ehs-rtxg-scope-series.png?alt=media" alt="" width="246"><figcaption></figcaption></figure>

The **RT-XSG Scope Series** block, located in the **eFPGAsim/External circuit editor workflow/Monitoring** library, performs the communication with the FPGA in order to send the configuration of the RT-XSG Scope Series.

## Mask parameters

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-0491d561deeaa40eee0f7b7bae634eb2751eaa46%2Fsps-ehs-rtxg-scope-series-mask.png?alt=media" alt=""><figcaption></figcaption></figure>

| Parameter                | Description                                                                                                                                                                                                          |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Controller Name**      | Links this block to an OpCtrl block by entering the same 'Controller Name' as specified in the OpCtrl block. The OpCtrl block controls initialization of the settings of one specific FPGA-based card in the system. |
| **Load In Port Number**  | This should reflect the LoadIn port used to configure the RT-XSG Scope Series in the FPGA.                                                                                                                           |
| **Data Out Port Number** | This should reflect the DataOut port used to receive the RT-XSG Scope Series data from the FPGA.                                                                                                                     |

## Inputs

| Input             | Description                                                                                                    |
| ----------------- | -------------------------------------------------------------------------------------------------------------- |
| **Configuration** | This input should be connected to the XSG Scope Series Control Panel found in the console of the RT-LAB model. |

## Outputs

| Output       | Description                                                                                                                                                                        |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Scope Ch** | This output returns the 8 channels from the RT-XSG Scope Series in the FPGA. When less than 8 channels are used, the unused channel remains 0.                                     |
| **Valid**    | This output goes to 1 while values are being sent from the FPGA.                                                                                                                   |
| **Rate**     | This output returns rate used for sampling the channels in the FPGA.                                                                                                               |
| **sof**      | This output goes to 1 at the of a new frame (Start Of Frame). It should be used with an OpTrigger to synchronize the console or an OpWriteFile with the data coming from the FPGA. |
| **Status**   | This output returns the status of the Load In and the Data Out status. Expected values are -1 and 0.                                                                               |

## Characteristics and limitations

| Direct Feedthrough   | NO  |
| -------------------- | --- |
| Discrete sample time | YES |
| XHP support          | YES |
| Work offline         | NO  |


---

# 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/efpgasim-library/simulink-sps-workflow/rt-xsg-scope-series.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.
