> For the complete documentation index, see [llms.txt](https://docs.spadnext.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spadnext.com/simulations/msfs-2020/msfs2020-pmdg-data-access.md).

# MSFS2020 PMDG Data Access

{% hint style="warning" %}
Steps provided for the PMDG 737, for all other PMDG aircraft same steps epply for the aircrafr specific ini-file
{% endhint %}

To access MSFS PMDG Data from SPAD.neXt the following steps have to be completed:<br>

* [ ] In MSFS the PMDG 737 must have been loaded beyond "ready to fly" at least once and exited again.
* [ ] Exit MSFS
* [ ] in Windows File-Explorer open

  \
  \* Store/Gamepass Version\
  `%LOCALAPPDATA%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\packages\pmdg-aircraft-737\work`\
  `*` Steam Version\
  `%APPDATA%\Microsoft Flight Simulator\Packages\pmdg-aircraft-737\work`
* [ ] Add to end of 737\_Options.ini

`[SDK]`\
`EnableDataBroadcast=1`\
`EnableCDUBroadcast.0=1`\
`EnableCDUBroadcast.1=1`<br>

{% hint style="info" %}
The EnableCDUBroadcast entries are only needed if you have a CDU Device or want to access CDU Data within SPAD.neXt

Add `EnableCDUBroadcast.2=1` additionally to get access to the center cdu (e.g. 777)
{% endhint %}

{% hint style="danger" %}
Make sure there is a newline/empty line after the last entry in the ini file and after each block, else it will get deleted again by the pmdg
{% endhint %}

* [ ] start MSFS and load 737, start flight
* [ ] exit MSFS
* [ ] start MSFS and load 737, start flight
* [ ] start SPAD.neXt
* [ ] Make sure in SPAD.neXt\
  Settings->Status\
  PMDG Connection shows as connected.\
  If it's not connected check the ini file, also make sure that you restarted MSFS at went beyond the "ready to fly" screen after making any changes to the pmdg ini files.
* [ ] Always 3 green!

All SDK Data and events are referenced in SPAD.neXt in the "PMDG 737 NGXu" (PMDGNG3) category and is **read-only**. To make any changes use the PMDG Events.

{% hint style="danger" %}
Please note PMDG Simulation Events work exactly like the cockpit. Use the "PMDG Special Actions" to do with the event what you would do in cockpit with the mouse!
{% endhint %}

{% hint style="danger" %}
Please note PMDG Simulation Events work exactly like the cockpit. Use the "PMDG Special Actions" to do with the event what you would do in cockpit with the mouse!
{% 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.spadnext.com/simulations/msfs-2020/msfs2020-pmdg-data-access.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
