> For the complete documentation index, see [llms.txt](https://help.trikset.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.trikset.com/en/trik/run-upload-programs.md).

# Launching and uploading programs to the TRIK controller

To work with the TRIK controller in the TRIK Studio settings, go to the ["Robots"](/en/studio/settings.md#robots) section and select the TRIK platform.

![](/files/-MUYXC9uK3EVjlrnizTl)

There are several options for executing programs for the TRIK controller:

* Step-by-step diagram interpretation with a simulation of robot behavior on a 2D model.
* Uploading the program to the robot and its further autonomous execution without communication with the computer.

## Interpretation with a simulation of robot behavior <a href="#id-2d" id="id-2d"></a>

{% hint style="info" %}
In the robot's 2D model mode, commands are not transmitted to the robot but are executed step-by-step by the virtual robot displayed on the screen. For more information, see the article ["2D Model"](/en/studio/2d-model.md).
{% endhint %}

1\. Turn on 2D model mode.

![](/files/-MUYXHLPl1-WoNGq0gHd)

2\. Click on the "Run" button.

![](/files/-MUYXS6uSxjeJ47E_5oJ)

3\. The 2D model window will open and the program will start running.

![](/files/-MUYXZRqoSQRbP-1HyiF)

4\. When you switch to edit mode, you can track the steps of the program.

![](/files/-MUYXda_jOUOh4-CtgQq)

## Uploading to the controller <a href="#upload" id="upload"></a>

From TRIK Studio, you can upload a  program to a robot in order to execute it autonomously later without connection to a computer.\
1\. [Connect](/en/trik/wi-fi.md) the TRIK controller to TRIK Studio.\
2\. Click on the "Upload Program" button.

![](/files/-MUYXihFqxfYUIPG_Bxz)

3\. To run the program on the controller go to the "Files" menu, select the desired program and press the "Enter" button.

![](/files/-MUYXpgsbqTmYsdmqEU3)![](/files/-MUYXvB3aGncs6w7zbzj)
