> For the complete documentation index, see [llms.txt](https://docs.robpod.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.robpod.cloud/hmi-designer/design-steps/run-hmi-program.md).

# Run HMI Program

After having ![](/files/fUAFnlT4YBuap8A2BWqV)[synchronized ](/hmi-designer/design-steps/synchronize-hmi-panel.md)the HMI panel you are ready to run the robot program.

Build the robot program as you usually do, making sure that all all variables and functions linked inside the HMI panel are defined also inside the program.&#x20;

{% hint style="info" %}
Robot plugin must be [installed ](/hmi-designer/installation.md)on robot to run the HMI on robot teach pendant.
{% endhint %}

{% tabs %}
{% tab title="UR Polyscope 5" %}

1. Go to **URCaps** menu and select the **HMI** command.
2. Add the HMI command inside the program after variables and function definitions.
3. Select the HMI panel that you want to display for this program.
4. Choose **stop main loop** if you want to block the main program execution to the HMI command and delegate to it execution of robot functions.

<figure><img src="/files/FE6D3OuOheuQ6Gqmok47" alt=""><figcaption></figcaption></figure>

Then **play** the robot program to execute it and display the HMI panel.

<figure><img src="/files/9rzeZv7QYLcODa2ylK54" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
If you can not find the HMI Command make sure to have previously [installed ](/hmi-designer/installation.md)the HMI plugin.
{% endhint %}

{% hint style="info" %}
More detail about how to structure a HMI program using Polyscope can be found in section: [HMI and Polyscope Program](/hmi-designer/hmi-and-ur-polyscope.md)
{% endhint %}
{% endtab %}

{% tab title="UR Polyscope X" %}

1. Click on **Add**, go to **URCaps** menu and select the **HMI** command.
2. Add the HMI command inside the program after variables and function definitions.
3. Select the HMI panel that you want to display for this program.
4. Choose **stop main loop** if you want to block the main program execution to the HMI command and delegate to it execution of robot functions.
5. Run the program, and click on **Operator** to display the HMI panel.

<figure><img src="/files/1z3W4Xn7bzTmwyUwHNL7" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="UR Polyscope 3" %}

1. Go to **URCaps** menu and select the **HMI** command.
2. Add the HMI command inside the program after variables and function definitions.

   <figure><img src="/files/68KsPe5mR05Ra77Huqdz" alt=""><figcaption></figcaption></figure>
3. Select the HMI panel that you want to display for this program.
4. Choose **stop main loop** if you want to block the main program execution to the HMI command and delegate to it execution of robot functions.

   <figure><img src="/files/qj4b3y50BfkRlnjzj6cu" alt=""><figcaption></figcaption></figure>

Then **play** the robot program to execute it with the running HMI panel.

<figure><img src="/files/zARItdygKwe8xMiQvaXk" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you can not find the HMI Command make sure to have previously [installed ](/hmi-designer/installation.md)the HMI plugin.
{% endhint %}
{% endtab %}

{% tab title="Doosan Robotics" %}

1. Open a new **Task Editor** file and go to the command list.
2. Add a **Robpod HMI** command at the end of the program.

<figure><img src="/files/DeQaeawkr0eqiHS5S2GW" alt="" width="563"><figcaption></figcaption></figure>

1. Inside the property tab, select the HMI file you want to execute.
2. Click on **Confirm**.
3. Run the program.

<figure><img src="/files/5FmC5pzVsxiH3pHt5UdJ" alt="" width="563"><figcaption></figcaption></figure>

The HMI panel will be displayed inside Robpod App.

<figure><img src="/files/odk6LW0DLQQSM98vbyYP" alt="" width="563"><figcaption></figcaption></figure>

{% endtab %}
{% endtabs %}
