# Setup

{% hint style="info" %}
When you run the LTT installer, you usually **do not need to take care** of setting up TestStand for the needs of the LTT software. This chapter only provides some background knowledge in case anything goes wrong or you want to do a manual setup, for whatever reason. **You can skip this chapter** if you are not interested yet.
{% endhint %}

{% hint style="info" %}
There is a tool located at `[Install Location]\50_LTT_SW\LTT GUI\IRS.TS.Tools.exe` which helps you to configure TestStand. Please close TestStand and LTT GUI before you use this tool!
{% endhint %}

For the LTT software to work properly the following things need to be setup correctly:

**TestStand configuration directory**

The default TestStand configuration directory is at `C:\ProgramData\National Instruments\TestStand\`. Within this directory there are files storing all vital TestStand settings like search paths, StationGlobals, model plugins, report configuration and so on. To not interfere with an existing TestStand configuration the LTT software sets the TestStand configuration directory to `[Install Location]\50_LTT_SW\LTT TS\config`. It is important to set the configuration directory first, before applying any other changes, as otherwise those changes would affect your previous TestStand configuration.

**TestStand search paths**

There are 2 necessary paths, which need to be added to the TestStand search paths.

* `[Install Location]\50_LTT_SW\LTT TS\lib\`
* `[Install Location]\50_LTT_SW\LTT GUI\`

**TestStand type palette paths**

There are 3 INI files, which need to be added to the TestStand type palette paths.

* `[Install Location]\50_LTT_SW\LTT TS\config\IRS.LTT.Types.ini`
* `[Install Location]\50_LTT_SW\LTT TS\lib\IRS.MesSy\V1\IRS.MesSyI.Types.ini`
* `[Install Location]\50_LTT_SW\LTT TS\lib\IRS.MesSy\IRS.MesSyII.Types.ini`

Those files will add custom step types to your TestStand insertion palette.

## IRS.TS.Tool.exe

Luckily this tool will help you with the setup task. It is normally run during installation, but in case anything went wrong just start it manually after installation.

![TS Tools](/files/K5XwWynpeVyVeXZ9Jccz)

Simply click on **"Apply LTT config"** to setup everything.


---

# Agent Instructions: 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:

```
GET https://docs.irs.systems/ltt/documentation/ltt-gui-manual/teststand/setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
