# URCap Sample: XML-RPC Math URCap

**URL:** <https://forum.universal-robots.com/t/urcap-sample-xml-rpc-math-urcap/1193>\
**Category:** URCap Development\
**Tags:** urcap-sample\
**Created:** [September 20, 2017, 2:00pm UTC](https://forum.universal-robots.com/t/urcap-sample-xml-rpc-math-urcap/1193 "2017-09-20T14:00:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/jbm/32/614_2.png) [@jbm](https://forum.universal-robots.com/u/jbm)\
**Post date:** [September 20, 2017, 2:00pm UTC](https://forum.universal-robots.com/t/urcap-sample-xml-rpc-math-urcap/1193/1 "2017-09-20T14:00:42Z")

</div>

**XML-RPC Math URCap**

**Description of functionality:**  
An example of a URCap that only includes an Installation Node and a small Python Daemon.  
The URCap implements an XML-RPC call to a Python server to extend the math functionality of the URScript language.  
The included math functionality is: string concentration, string indexation, addition and subtraction of numbers.

**What topics are covered:**  
XML-RPC, strings, concentration, InstallationNode, DaemonService, Python, Daemon

> **[GitHub - BomMadsen/URCap-XMLRPCMath: Small URCap example demonstrating how to...](https://github.com/BomMadsen/URCap-XMLRPCMath)**
>
> Small URCap example demonstrating how to use XML-RPC to extend URScript with new functionality, math functions in this example. - GitHub - BomMadsen/URCap-XMLRPCMath: Small URCap example demonstrat...

**Requirements:**  
URCaps SDK 1.0+

---

<div class="post-metadata">

**Author:** ![anon51496239](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@anon51496239](https://forum.universal-robots.com/u/anon51496239)\
**Post date:** [October 6, 2017, 2:19pm UTC](https://forum.universal-robots.com/t/urcap-sample-xml-rpc-math-urcap/1193/2 "2017-10-06T14:19:14Z")

</div>

@jbm I think the download link is broken or corrupted. Inside the 7kb archive is one file called “1734a11911da18360a5f0a52b27a562fe62792d4” with no extension.

---

<div class="post-metadata">

**Author:** ![manjunath](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@manjunath](https://forum.universal-robots.com/u/manjunath)\
**Post date:** [October 11, 2017, 3:05am UTC](https://forum.universal-robots.com/t/urcap-sample-xml-rpc-math-urcap/1193/3 "2017-10-11T03:05:55Z")

</div>

@jbm , it seams downloaded file is not a valid file can you please check the link and update.

---

<div class="post-metadata">

**Author:** ![jbm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/jbm/32/614_2.png) [@jbm](https://forum.universal-robots.com/u/jbm)\
**Post date:** [October 11, 2017, 7:36am UTC](https://forum.universal-robots.com/t/urcap-sample-xml-rpc-math-urcap/1193/4 "2017-10-11T07:36:46Z")

</div>

The download have now been corrected.

Happy development!

---

<div class="post-metadata">

**Author:** ![anon61144513](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@anon61144513](https://forum.universal-robots.com/u/anon61144513)\
**Post date:** [August 8, 2018, 7:34pm UTC](https://forum.universal-robots.com/t/urcap-sample-xml-rpc-math-urcap/1193/5 "2018-08-08T19:34:40Z")

</div>

It´s not run… you can help me ?

 ![Pantalla](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/1X/b45883683f60e64df209aa7568296754333184ee.png)

---

<div class="post-metadata">

**Author:** ![anon54710812](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@anon54710812](https://forum.universal-robots.com/u/anon54710812)\
**Post date:** [August 16, 2018, 3:56am UTC](https://forum.universal-robots.com/t/urcap-sample-xml-rpc-math-urcap/1193/6 "2018-08-16T03:56:59Z")

</div>

Hello,

Is there any way to enable the XMLRPC in the installation tab automatically every time I change program/installation?

---

<div class="post-metadata">

**Author:** ![anon87290282](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@anon87290282](https://forum.universal-robots.com/u/anon87290282)\
**Post date:** [May 19, 2020, 1:04pm UTC](https://forum.universal-robots.com/t/urcap-sample-xml-rpc-math-urcap/1193/7 "2020-05-19T13:04:16Z")

</div>

The download link seems to be broken again. Please fix. Thx

---

<div class="post-metadata">

**Author:** ![je1](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@je1](https://forum.universal-robots.com/u/je1)\
**Post date:** [July 2, 2020, 9:06am UTC](https://forum.universal-robots.com/t/urcap-sample-xml-rpc-math-urcap/1193/8 "2020-07-02T09:06:59Z")

</div>

Hi @jbm, the link is unfortunately not working. Could you look into that?

---

<div class="post-metadata">

**Author:** ![jbm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/jbm/32/614_2.png) [@jbm](https://forum.universal-robots.com/u/jbm)\
**Post date:** [July 3, 2020, 9:25am UTC](https://forum.universal-robots.com/t/urcap-sample-xml-rpc-math-urcap/1193/9 "2020-07-03T09:25:46Z")

</div>

Sample is updated into GitHub, see link in initial posting.
