# Runtime Interaction GUI elements

**URL:** <https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809>\
**Category:** Product Wishlist\
**Created:** [May 24, 2017, 5:11am UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809 "2017-05-24T05:11:44Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon43104340](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@anon43104340](https://forum.universal-robots.com/u/anon43104340)\
**Post date:** [May 24, 2017, 5:11am UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/1 "2017-05-24T05:11:44Z")

</div>

A “Run Program” URCap node  
Addtion of a third node type, to display HTML GUI elements on the RUN screen,to allow users, **while a program is running** , to select options, set variables, etc… The aim is to extend the existing four rudimentary operator input options and to provide a richer, guided user experience in settings where users that lack a programming background.

---

<div class="post-metadata">

**Author:** ![anon79795599](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@anon79795599](https://forum.universal-robots.com/u/anon79795599)\
**Post date:** [May 26, 2017, 9:29pm UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/2 "2017-05-26T21:29:38Z")

</div>

I second the request.

Doing a work around with a second computer, Python code, and XMLRPC. Just need a couple of buttons to set, save, and load some variables.

---

<div class="post-metadata">

**Author:** ![anon87661449](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@anon87661449](https://forum.universal-robots.com/u/anon87661449)\
**Post date:** [June 29, 2017, 9:01pm UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/3 "2017-06-29T21:01:46Z")

</div>

I would like to extend this request:

If the robot-program relies on input of this custom run-screen, e.g. input of certain variables or button-press or error acknowledge, it wouldn’t work when running the program in programming-mode.  
I suggest a possibility to switch to this custom screen from a program-node (and automatically closing it when the program is stopped (and also (optional) via the program-node)).

For a good handling of this, it could also be necessary for the URCap to know if the robot-program is run from “Run program” or “Program Robot” (maybe another feature request).

It should also be capable to handle multiple URCaps.

I’ve made a little mockup to elaborate the use case a bit:

 ![](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/1X/182db45a0cbf1ccfb0e0b8fae0898744c5d262be.gif)

I invite other developers to share your opinions about this.

For us, such an extension would keep 4 of 5 (currently) of our URCaps alive (or keep at least the intended user experience), once the restriction concerning the blocking of custom overlays by UR finally apply.

---

<div class="post-metadata">

**Author:** ![anon93784444](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@anon93784444](https://forum.universal-robots.com/u/anon93784444)\
**Post date:** [July 4, 2017, 6:41am UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/4 "2017-07-04T06:41:24Z")

</div>

Awesome, I would love to see it implemented.

---

<div class="post-metadata">

**Author:** ![anon87029337](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@anon87029337](https://forum.universal-robots.com/u/anon87029337)\
**Post date:** [July 4, 2017, 10:08am UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/5 "2017-07-04T10:08:06Z")

</div>

I second the request.  
It would also be very nice to implement widgets, that the programmer can place on the Run Screen. Widgets could be buttons for an input (Next part GO!) or a simple text field to show e.g. a part counter. The widgets could then be arranged by the programmer so that a simple user interface can be designed.

I’m thinking at Android home screens or Windows Tiles.

---

<div class="post-metadata">

**Author:** ![anders.olsson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/anders.olsson/32/1735_2.png) [@anders.olsson](https://forum.universal-robots.com/u/anders.olsson)\
**Post date:** [December 11, 2017, 6:46am UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/6 "2017-12-11T06:46:24Z")

</div>

I also have a constant need for this. It’s a drawback to need to use a second HMI when everything is there, signals, a nice touchscreen etc…:-/

---

<div class="post-metadata">

**Author:** ![anon24768507](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@anon24768507](https://forum.universal-robots.com/u/anon24768507)\
**Post date:** [February 6, 2018, 9:09am UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/7 "2018-02-06T09:09:08Z")

</div>

This is one of the most requested features on this forum. Please correct me if I’m wrong, but I believe this 1½ year old thread is asking for the same thing.

> [@HTML GUI Prompts on Run Program Screen](http://forum.universal-robots.com/t/html-gui-prompts-on-run-program-screen/247):
>
> When deploying robots as part of larger systems, often operators will have no robot programming experience, no need for ir. Traditionally, such deploments will rely on an HMI or PC, in which operators will enter relevant data or select programs to be run. Ideally, URCaps would allow creating basic, lightweight interfaces to do this, without having to enter the programming environment (which should be password protected at this stage)… The closest thing to this I believe is the Assignment-\>Prom…

---

<div class="post-metadata">

**Author:** ![anon48748235](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@anon48748235](https://forum.universal-robots.com/u/anon48748235)\
**Post date:** [February 9, 2018, 11:49pm UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/8 "2018-02-09T23:49:19Z")

</div>

+1 to this feature request, this would simplify our current setup a lot. Does anyone know if the Devs have made any comments regarding the possible addition of this feature to URCaps?

---

<div class="post-metadata">

**Author:** ![anon51801516](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@anon51801516](https://forum.universal-robots.com/u/anon51801516)\
**Post date:** [October 19, 2018, 9:21am UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/9 "2018-10-19T09:21:14Z")

</div>

We also need something like this for our URCaps for visual object recognition. We would like to show current camera image with detected object on this tab. It is important to have this visual feedback to check the functionality of the program.

This tab should be available in “Program Robot” (when the program is running) and “Run Program” modes.

---

<div class="post-metadata">

**Author:** ![anon45015616](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@anon45015616](https://forum.universal-robots.com/u/anon45015616)\
**Post date:** [October 23, 2018, 3:42pm UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/10 "2018-10-23T15:42:06Z")

</div>

I also agree that making this tab available for use in both “Program Robot” mode and “Run Program” mode would be very useful. We need to be able to show basic information, including images, and have available actions when a user presses a custom button.

---

<div class="post-metadata">

**Author:** ![anon57454834](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@anon57454834](https://forum.universal-robots.com/u/anon57454834)\
**Post date:** [October 23, 2019, 12:46pm UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/11 "2019-10-23T12:46:54Z")

</div>

I second this request!

---

<div class="post-metadata">

**Author:** ![anon3164729](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@anon3164729](https://forum.universal-robots.com/u/anon3164729)\
**Post date:** [October 14, 2020, 1:21pm UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/12 "2020-10-14T13:21:55Z")

</div>

Is there any news about this feature request? (for the Swing URCaps in particular)

---

<div class="post-metadata">

**Author:** ![fujikit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/fujikit/32/6042_2.png) [@fujikit](https://forum.universal-robots.com/u/fujikit)\
**Post date:** [October 14, 2020, 1:33pm UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/13 "2020-10-14T13:33:46Z")

</div>

I think the this request can be realized to form the custom dialog on each urcap by oneself.

How about my thought?

---

<div class="post-metadata">

**Author:** ![anon3164729](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@anon3164729](https://forum.universal-robots.com/u/anon3164729)\
**Post date:** [October 14, 2020, 2:01pm UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/14 "2020-10-14T14:01:14Z")

</div>

Yes, you can open a JFrame or JDialog and make it full-screen, but how can you be sure that popups (including safety ones), the “play from beginning/play from selection” window, keyboards, initialization screen, etc… will be in foreground with respect to the custom frame/dialog?  
Moreover in this way you are creating an additional window, not a tab or panel which would better integrate in PolyScope.  
However I agree that now this is the best workaround.

---

<div class="post-metadata">

**Author:** ![fujikit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/fujikit/32/6042_2.png) [@fujikit](https://forum.universal-robots.com/u/fujikit)\
**Post date:** [October 14, 2020, 2:05pm UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/15 "2020-10-14T14:05:45Z")

</div>

I often create custom window or dialog.  
I have published the sample.

> [@URCap Sample : Ethernet/IP I/O Monitor URCap (included the feature of RTDE and XML-RPC Server by JAVA)](https://forum.universal-robots.com/t/sample-ethernet-ip-i-o-monitor-urcap-included-the-feature-of-rtde-and-xml-rpc-server-by-java/8724):
>
> To all developer. I have developped the urcap for monitoring I/O of Ehternet/IP. I use the features of RTDE, XML-RPC and so on to developping this. I want to make it better in operation. So would you try to use this and send me your message or reply if you have the suggetions and improvements? Regards. GitHub

---

<div class="post-metadata">

**Author:** ![anon3164729](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@anon3164729](https://forum.universal-robots.com/u/anon3164729)\
**Post date:** [October 14, 2020, 2:36pm UTC](https://forum.universal-robots.com/t/runtime-interaction-gui-elements/809/16 "2020-10-14T14:36:19Z")

</div>

Ok thanks, I will check your sample.

Regarding the feature request, my use case would be slightly different. I have a program URCap at some point in the program, and I need the final operator (without programming skills) to be able to configure it WITHOUT entering in the Program tab. So I think the program URCap can read its configuration from an external file, and I want to create this file by means of a GUI in a panel. So this panel should be available somewhere in PolyScope. Until now only the a toolbar URCap can do this, but the area is too small.
