# Station Control

A valid test station can be

* started
* stopped
* terminated
* aborted

A test station is valid if it has a completely configured [test order](/ltt/documentation/ltt-gui-manual/lttgui/dialogs/f11testconfiguration.md).

You can choose to start the currently selected test station (F1) or all valid test stations at once (F7).

You can issue a **stop request** for the currently selected test station (F1) or all running test stations at once (F8).

{% hint style="info" %}
By issuing a **stop request**, it depends on the TestStand sequence file if, when and how the test actually stops. This is determined by the use of the [Check For Stop](/ltt/documentation/ltt-gui-manual/teststand/customsteptypes/checkstop.md) step inside of your TestStand sequence file. See [stop conditions](/ltt/documentation/ltt-gui-manual/teststand/processmodel/orderofexecution.md#STOP_CONDITIONS) for more informations.
{% endhint %}

It may happen, that a test station refuses to stop. This can have several reasons:

* no proper usage of the [Check For Stop](/ltt/documentation/ltt-gui-manual/teststand/customsteptypes/checkstop.md) step (infinite loop)
* a blocking call to an external code module (LabView, .NET)
* long time to reach the next [Check For Stop](/ltt/documentation/ltt-gui-manual/teststand/customsteptypes/checkstop.md) step

In such cases you can **terminate** a test station (Shift+F9). A termination request will end the execution of the selected test station, no matter where the execution currently is and whether a [Check For Stop](/ltt/documentation/ltt-gui-manual/teststand/customsteptypes/checkstop.md) step is used or not!

{% hint style="info" %}
Terminating test stations still perform all cleanup steps defined in the TestStand sequence file.
{% endhint %}

The termination will **not work** however if the test station execution has a (infinite?) **blocking call** to an external code module. If that is the case you can press Shift+F9 again. This will change the termination request to an abort request.

{% hint style="warning" %}
Aborting test stations **do not** perform any cleanup steps defined in the TestStand sequence file. This may lead to leaving the system in a dangerous state, possibly causing harm to the device under test!
{% endhint %}


---

# 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/lttgui/stationcontrol.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.
