# GNURadio Companion Source Block

**URL:** <https://discourse.myriadrf.org/t/gnuradio-companion-source-block/1940>\
**Category:** LimeSDR\
**Created:** [31 October 2017 02:45 UTC](https://discourse.myriadrf.org/t/gnuradio-companion-source-block/1940 "2017-10-31T02:45:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![merc](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@merc](https://discourse.myriadrf.org/u/merc)\
**Post date:** [31 October 2017 02:45 UTC](https://discourse.myriadrf.org/t/gnuradio-companion-source-block/1940/1 "2017-10-31T02:45:31Z")

</div>

I just got my limeSDR yesterday! I have it working in Pothos and the correct driver in Device manager. What I am having trouble with is using LimeSDR as a source in GNURadio- which is what I know how to use. I have tried Ossmocon with "driver=lime,soapy=0(tried 2 as well) but it always says port disconnected. Please Help. Using windows 10 (yuk), its for work. I have tried Kali and Skywave using flash drive boot but without much luck either. Need wisdom please.

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [31 October 2017 09:08 UTC](https://discourse.myriadrf.org/t/gnuradio-companion-source-block/1940/2 "2017-10-31T09:08:05Z")

</div>

Sounds like you’re using the correct device string and if you have the Pothos SDR installer on Windows, you should have everything. @joshblum, any ideas?

---

<div class="post-metadata">

**Author:** ![joshblum](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/joshblum/32/18_2.png) [@joshblum](https://discourse.myriadrf.org/u/joshblum)\
**Post date:** [2 November 2017 03:56 UTC](https://discourse.myriadrf.org/t/gnuradio-companion-source-block/1940/3 "2017-11-02T03:56:30Z")

</div>

> [@merc](#):
>
> Ossmocon with "driver=lime,soapy=0(tried 2 as well) but it always says port disconnected

Can you share the terminal output, or the message window output? Any additional verbose might help.

I don’t recognize the error, but FWIW I just built and uploaded a new installer. I tested gr-osmosdr with the limesdr using those same arguments `driver=lime,soapy=0` and it seems to be fine.

---

<div class="post-metadata">

**Author:** ![merc](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@merc](https://discourse.myriadrf.org/u/merc)\
**Post date:** [3 November 2017 22:51 UTC](https://discourse.myriadrf.org/t/gnuradio-companion-source-block/1940/4 "2017-11-03T22:51:31Z")

</div>

I did a fresh install of Windows 10, installed Cypress bootloader the myriad limesdr drivers, which come up correctly in device manager. It communicates with lime suite and pothos. In gnuradio I use osmocon source block with device arguments of driver=lime,soapy=2 tried 0 as well. When I apply in osmocom properties it says Source-out1(1):  
Port is not connected.

How do I get limesdr working with gnuradio? Please help

---

<div class="post-metadata">

**Author:** ![merc](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@merc](https://discourse.myriadrf.org/u/merc)\
**Post date:** [4 November 2017 03:48 UTC](https://discourse.myriadrf.org/t/gnuradio-companion-source-block/1940/5 "2017-11-04T03:48:17Z")

</div>

I uninstalled the version of gnuradio that was not part of the Pothos install. the reason i installed it was because when ran the Pothos supplied one i get this error “Failed to open registry key HKLM/SOFTWARE/PythonCore/2.7InstallPath  
Is Python 2.7 Installed?” Im hoping if I fix this problem with gnuradio(supplied with pothos) i will hopefully be able to get LimeSDR to work with GNUradio!!! How to i fix this Please

---

<div class="post-metadata">

**Author:** ![merc](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@merc](https://discourse.myriadrf.org/u/merc)\
**Post date:** [4 November 2017 04:25 UTC](https://discourse.myriadrf.org/t/gnuradio-companion-source-block/1940/6 "2017-11-04T04:25:28Z")

</div>

# In installed a 64-bit version of python 2.7 and get the py helper thing- heres the readout "======================================== == Runtime and import checks

- Check locate GNURadio runtime… PASS
- Check locate GTK+ runtime… FAIL
- Check Python version is 2.7… FAIL
- Check import gtk module… FAIL
- Check import numpy module… FAIL
- Check import lxml module… FAIL
- Check import Cheetah module… FAIL
- Check import wx module… FAIL
- Check import OpenGL module… FAIL
- Check GRC blocks path set… PASS
- Check import GNURadio module… FAIL

# ======================================== == Checks passed summary

GR\_RUNTIME: C:\Program Files\PothosSDR\bin\gnuradio-runtime.dll  
GRC\_BLOCKS: C:\Program Files\PothosSDR\share\gnuradio\grc\blocks

# ======================================== == Checks failed summary

GTK\_RUNTIME: failed to locate the GTK+ runtime DLL  
PYVERSION: can’t find pip executable C:\Python27\Scripts\pip.exe  
IMPORT\_GTK: No module named gtk  
IMPORT\_NUMPY: No module named numpy  
IMPORT\_LXML: No module named lxml  
IMPORT\_CHEETAH: No module named Cheetah  
IMPORT\_WX: No module named wx  
IMPORT\_OPENGL: No module named OpenGL  
IMPORT\_GR: No module named numpy

# ======================================== == Fixing problems

Handling issues for GTK\_RUNTIME…  
The system cannot find the path specified.  
Error: pip failed to install requests  
Error: No module named requests"

any help?

---

<div class="post-metadata">

**Author:** ![merc](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@merc](https://discourse.myriadrf.org/u/merc)\
**Post date:** [5 November 2017 01:26 UTC](https://discourse.myriadrf.org/t/gnuradio-companion-source-block/1940/7 "2017-11-05T01:26:04Z")

</div>

got the Pothos bundled version of GRC working after installing a 64-bit version of python 2.7 but still not working. “port not connected” when using osmoscom source block.

---

<div class="post-metadata">

**Author:** ![merc](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@merc](https://discourse.myriadrf.org/u/merc)\
**Post date:** [5 November 2017 02:24 UTC](https://discourse.myriadrf.org/t/gnuradio-companion-source-block/1940/8 "2017-11-05T02:24:43Z")

</div>

simple restart of computer and everything working. Python 2.7 can suck it.

---

<div class="post-metadata">

**Author:** ![vk5bd](https://avatars.discourse-cdn.com/v4/letter/v/ac8455/32.png) [@vk5bd](https://discourse.myriadrf.org/u/vk5bd)\
**Post date:** [6 November 2017 07:10 UTC](https://discourse.myriadrf.org/t/gnuradio-companion-source-block/1940/9 "2017-11-06T07:10:55Z")

</div>

Hello Merc,  
Not sue if this will help you, have you read this other discussion?  
[https://discourse.myriadrf.org/t/error-python-2-7-inspection-failed/1895](https://discourse.myriadrf.org/t/error-python-2-7-inspection-failed/1895)

Regards,  
Bevan
