# Running Without GUI

You can run your testplan without GUI.

![TS SeqEdit Start1](/files/U7jAlGTpL0s7G2yRQDLD)

Just press the **green arrow button** in TestStand after you have loaded your testplan.

![TS SeqEdit Start2](/files/PqkfUTi7fzVeHtnRGgJ9)

First the **ProcessSetup** and **PreUUTLoop** sequences will execute. The latter one will connect to your MesSy (only if MesSy is enabled in [StationGlobals](/ltt/documentation/ltt-gui-manual/teststand/predefinedvariables.md#StationGlobals)). After a while the default TestStand **UUT Information dialog** will appear. You are limited to one DUT. You can ignore the **UUT Serial Number** input and just press **OK** to go on with your testplan.

Now the **MainSequence** will run. It will call one of your existing [operation mode sequences](/ltt/documentation/ltt-gui-manual/teststand/operationmodes.md) depending on the current **TCC value** and how you have [mapped](/ltt/documentation/ltt-gui-manual/lttgui/dialogs/f10testparameterconfiguration/operationmodemappings.md) it (read chapter [Order of execution](/ltt/documentation/ltt-gui-manual/teststand/processmodel/orderofexecution.md) for more details). After a fresh installation there is a default mapping to the one and only operation mode **\[insert name]** when the (simulated) TCC returns 0.

{% hint style="info" %}
To make your testplan execute a certain operation mode when running standalone in TestStand you need to configure a mapping in LTT GUI [F10 dialog](/ltt/documentation/ltt-gui-manual/lttgui/dialogs/f10testparameterconfiguration.md) and make sure that your TCC (simulated or real) returns the correct value.
{% endhint %}

For a correct operation some variables also need to be set, which will normally be done by LTT GUI. You need to set the **MesSy V2 StationID** or **MesSy V1 Bus/Slot** variables manually (read chapter [MesSy integration](/ltt/documentation/ltt-gui-manual/teststand/messyintegration.md)).

The best place for setting variables manually is in **PreUUTLoop**. There is already a Statement step placed, with some commented out code. Just uncomment it and set the variables according your needs.

![TS SeqEdit Preset Variables](/files/PXHBUT0nd1j8w4lTKM6q)

When the operation mode sequence has finished, the execution will pause and you need to manually resume it again in the **UUT Information dialog** or terminate the execution.

![TS SeqEdit Finished](/files/kIcu0MpzqDdgRJmYiwgN)

When you press **Next UUT** and then **OK**, the operation mode will start again. You can change the TCC value in between to switch to another operation mode as long as you have mapped it in LTT GUI.

When you press Exit the **PostUUTLoop** and **ProcessCleanup** sequences are called and the execution stops.

{% hint style="info" %}
If you want to stop the execution during an operation mode you can press Terminate in the **UUT Information dialog**.
{% endhint %}

![TS SeqEdit Running](/files/AhrJdzYNepxhVOEVY0mK)


---

# 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/processmodel/runningwithoutgui.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.
