# Import data from Gateway X4 retrieved from sensors to Excel

**URL:** <https://forums.digi.com/t/import-data-from-gateway-x4-retrieved-from-sensors-to-excel/3317>\
**Category:** Python\
**Created:** [February 2, 2011, 4:03pm UTC](https://forums.digi.com/t/import-data-from-gateway-x4-retrieved-from-sensors-to-excel/3317 "2011-02-02T16:03:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dalemego](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@dalemego](https://forums.digi.com/u/dalemego)\
**Post date:** [February 2, 2011, 4:03pm UTC](https://forums.digi.com/t/import-data-from-gateway-x4-retrieved-from-sensors-to-excel/3317/1 "2011-02-02T16:03:05Z")

</div>

Hello,

I’m working with a Zigbee X4 gateway module. I want to know if its possible to import data retrieved from sensors to Excel, or something that let me show the data in a good looking format, to do graphs and a complete statistical analisys if possible.

Actually I’m running the dia.py sample aplication using Python, the problem is that I found Python too tricky to use for me. I would like to find a way to develop my applications using Vb .NET or another language.

Thank you for your help!.

Daniel

---

<div class="post-metadata">

**Author:** ![DigiGuy42](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@DigiGuy42](https://forums.digi.com/u/DigiGuy42)\
**Post date:** [February 2, 2011, 7:53pm UTC](https://forums.digi.com/t/import-data-from-gateway-x4-retrieved-from-sensors-to-excel/3317/2 "2011-02-02T19:53:14Z")

</div>

If you’re still using Dia on the gateway, you could configure it to use the TCP-CSV presentation, and provide a socket on the machine you’re running [VB.NET](http://VB.NET) on, to consume that data. Excel could consume that CSV data directly if you needed it to.

Probably a more flexible option would be to use the XML-RPC presentation in Dia, and the [XML-RPC.NET](http://XML-RPC.NET) library [http://www.xml-rpc.net/](http://www.xml-rpc.net/) (or equivalent), to pull data from the gateway into your VB application.

If you provide more details about what you’re attempting, perhaps someone can come up with some good targeted advice.

---

<div class="post-metadata">

**Author:** ![dalemego](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@dalemego](https://forums.digi.com/u/dalemego)\
**Post date:** [February 10, 2011, 12:33am UTC](https://forums.digi.com/t/import-data-from-gateway-x4-retrieved-from-sensors-to-excel/3317/3 "2011-02-10T00:33:09Z")

</div>

Thank you DigiGuy42, I will try that and I tell you the results.
