# Dataref Tool

Now that we’ve taxied past the basics, it’s time to install the DataRef Tool—your new\
best friend when it comes to connecting SPAD.neXt with the deep inner workings of\
X-Plane. Think of it as your aircraft’s diagnostic scanner, letting you peek behind the\
curtain and see exactly what’s going on with all those mysterious datarefs.

**🧭 Step 1: Download the DataRef Tool**\
You can grab the latest version from a trusted X-Plane community site like the X-Plane.org forums. Just search for “DataRefTool” or “DataRef Editor” (note: not the same as DataRef Viewer, but they can work together). Make sure it’s compatible with your version of X-Plane.\
\
<https://datareftool.com/>

<figure><img src="https://2105589883-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNPnNMjztlaW2SgamiE%2Fuploads%2FxVBqVQQWm7zmcqXtf8fX%2Fimage.png?alt=media&#x26;token=d047ebd0-fc60-46ec-a9e8-cf5971f414c7" alt=""><figcaption><p>Datareftool Homepage</p></figcaption></figure>

**📁 Step 2: Unzip and Install**\
Once downloaded, unzip the folder. Inside you’ll find a plugin folder—usually named something like DataRefTool with the version number. Note the latest version is **NOT compatible with Xplane 11**\
Drag and drop that folder into your X-Plane > Resources > plugins directory. That’s it! No complicated installer, no bloat—just good old-fashioned drag-and-drop.

<figure><img src="https://2105589883-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNPnNMjztlaW2SgamiE%2Fuploads%2FE8LSH5D2px8AgeQ3AJT9%2FDatareftool_zip.png?alt=media&#x26;token=27806622-f239-4a34-9850-6665c1d40411" alt=""><figcaption><p>Inside Datareftool Zip</p></figcaption></figure>

<figure><img src="https://2105589883-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNPnNMjztlaW2SgamiE%2Fuploads%2FCQbHJrmLrUCyLirBukVQ%2FXplane_Plugins.png?alt=media&#x26;token=a76a62be-391c-4b2d-9932-1ca4993ab7c1" alt=""><figcaption><p>X-Plane Plugins Folder</p></figcaption></figure>

**🛫 Step 3: Fire Up X-Plane**\
Launch X-Plane, load into any aircraft (even the default Cessna if you're just testing things out), and then check the Plugins menu at the top. You should see DataRef Tool listed there, ready for duty.

<figure><img src="https://2105589883-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNPnNMjztlaW2SgamiE%2Fuploads%2FNV6KhFMmoIcZ3eG9uwsf%2FDatareftool%20Running.png?alt=media&#x26;token=13586f8b-5480-47d3-96d0-bd2973e5e2d0" alt=""><figcaption><p>Datareftool Inside Xplane</p></figcaption></figure>

**🔍 Step 4: Verify It's Working**\
Click on the plugin, and a search window should pop up. From here, you can start typing in keywords (like lights, battery, gear, etc.) to see live values and interact with them in real time. If you’re seeing live data and clickable checkboxes, congrats—you’re in business!

<figure><img src="https://2105589883-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNPnNMjztlaW2SgamiE%2Fuploads%2FuY4hQypjnoSfuj0SnmH5%2FDatareftoolTest.png?alt=media&#x26;token=620786eb-cbff-4882-b652-ce37d76ceafe" alt=""><figcaption><p>Testing Datareftool</p></figcaption></figure>

**🧩 Bonus Tip:**\
Assign 1 button within X-plane to write the the drt\_last\_run\_commandrefs.txt &\
drt\_last\_run\_datarefs.txt files this will save you a lot of time. This will overwrite the existing files whilst in the simulator & Instead of rebooting the sim you can make your edits and reboot Spad.Next.<br>

<figure><img src="https://2105589883-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNPnNMjztlaW2SgamiE%2Fuploads%2FIghGWLW33pv2smSRppTa%2FButton%20Assignment.png?alt=media&#x26;token=bdfb2d47-4b75-483f-8caa-f189f7a7a740" alt=""><figcaption><p>Assigning A Button</p></figcaption></figure>

Pressing this button will then write 2 files to the following location.\
&#x20;                                                         \X-Plane 12\Output\preferences

<figure><img src="https://2105589883-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNPnNMjztlaW2SgamiE%2Fuploads%2FzHCwjnDTat1FrQ1w72xd%2FDRT_Files.png?alt=media&#x26;token=e93f4fa4-cb5c-471e-bbb2-fc4fd2062470" alt=""><figcaption><p>Datareftool Files</p></figcaption></figure>
