> 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/pe-add-on-simulink/model-and-simulation/configure-the-hardware-fpga/analog-inputs-section.md).

# Analog Inputs Section

## Analog Inputs Configuration Page <a href="#analog-inputs-configuration-page" id="analog-inputs-configuration-page"></a>

This page lists the Analog Input channels available for the selected [**Hardware Configuration**](https://www.opal-rt.com/docs/pe-add-on-simulink/hardware-configurations-reference/default-hardware-configurations.md). Gains, offsets, minimum and maximum saturation factors can be applied to the signals acquired using the analog input channels.

The following configuration options are available at edit-time for each channel:

### **Analog Input Settings**

<table><thead><tr><th width="209.55560302734375">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Gain</strong></td><td>Signal gain. The raw signal is multiplied by this value before the <strong>Offset, Min</strong>, and <strong>Max</strong> saturation are applied.</td></tr><tr><td><strong>Offset</strong></td><td>DC offset of the signal. This value is added after the <strong>Gain</strong> has been applied.</td></tr><tr><td><strong>Min</strong></td><td>Lower saturation limit of the signal. It is applied after the <strong>Gain</strong> and <strong>Offset</strong>.</td></tr><tr><td><strong>Max</strong></td><td>Upper saturation limit of the signal. It is applied after the <strong>Gain</strong> and <strong>Offset</strong>.</td></tr></tbody></table>

The following configuration option is available at edit-time and applied to all channels:

<table><thead><tr><th width="209.64434814453125">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enable Gain and Offset as Channels</strong></td><td>Enables execution-time updates of the signal gain and offset. When enabled, an <strong>Advanced</strong> subsection is created under the Analog Inputs section and populated with <strong>ConnX.AI</strong> <em><strong>XX</strong></em> <strong>Gain</strong> and <strong>ConnX.AI</strong> <em><strong>XX</strong></em> <strong>Frequency</strong> custom device channels as described in the Channels table below.</td></tr></tbody></table>

### Analog Inputs Section Channels

This section includes the following custom device channels:

<table><thead><tr><th width="209.73333740234375">Channel Name</th><th>Description</th></tr></thead><tbody><tr><td><strong>AI</strong> <em><strong>XX</strong></em></td><td>Raw analog data read by the FPGA on channel <em>AI</em>. The data has not been conditioned by the <strong>Gain</strong>, <strong>Offset</strong>, <strong>Min</strong>, and <strong>Max</strong> parameters. To view the conditioned signals at a higher resolution, consider using <strong>Waveforms</strong> instead. The Analog Inputs section is populated with one <strong>ConnX.AI</strong> <em><strong>XX</strong></em> channel for each Analog Input channel available in the selected <strong>Hardware Configuration</strong>.</td></tr><tr><td><strong>AI</strong> <em><strong>XX</strong></em> <strong>Gain</strong></td><td>Signal Gain to apply to channel ConnX.AI . When <strong>Enable Gain and Offset as Channels</strong> is enabled, the <strong>Analog Inputs >> Advanced >> Gain</strong> section is populated with one <strong>ConnX.AI</strong> <em><strong>XX</strong></em> <strong>Gain</strong> channel for each Analog Input channel. The default value of this channel is the value of the <strong>Gain</strong> parameter in the Analog Inputs Configuration Page.</td></tr><tr><td><strong>AI</strong> <em><strong>XX</strong></em> <strong>Offset</strong></td><td>DC Offset to apply to channel ConnX.AI . When <strong>Enable Gain and Offset as Channels</strong> is enabled, the <strong>Analog Inputs >> Advanced >> Offset</strong> section is populated with one <strong>ConnX.AI</strong> <em><strong>XX</strong></em> <strong>Offset</strong> channel for each Analog Input channel. The default value of this channel is the value of the <strong>Offset</strong> parameter in the Analog Inputs Configuration Page.</td></tr></tbody></table>

{% hint style="info" %}
Conditioned Analog Input signals can be mapped to other simulation components by navigating to their respective configuration pages. Mapping options may vary between **Hardware Configuration.**
{% endhint %}


---

# 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/pe-add-on-simulink/model-and-simulation/configure-the-hardware-fpga/analog-inputs-section.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.
