discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] RTL-SDR source not working in 3.7.14.5


From: Geof Nieboer
Subject: Re: [Discuss-gnuradio] RTL-SDR source not working in 3.7.14.5
Date: Wed, 16 Oct 2019 11:59:39 -0400

Beau,

OK, let's see..

First let's look at this...
----
gr-osmosdr 4d83c606 (0.1.5git) gnuradio 3.7.13.5
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf
airspy redpitaya
[INFO] [UHD] Win32; Microsoft Visual C++ version 14.0; Boost_106000;
UHD_3.14.1.HEAD-0-g5491b80e
---
This seems to indicate that the gr-osmosdr is looking for a UHD
device, not your RTL-SDR.  This can be set in the "Device Arguments"
section.  I can't recall the exact parameter to put in, but look in
the documentation for the block and I think there is an example.  That
could be the whole issue possibly, because UHD and gr-osmocom don't
play well together.

Let me know if that works.  I won't be able to test your files myself
until later on.

Geof

On 10/16/19, Beau Thompson <address@hidden> wrote:
> Hi Geof,
>
> I see these in a black window on start up
>
> i get
>
>
---- SNIP -----
> Warning: Block with key "xmlrpc_server" already exists.
>          Ignoring: D:\Program
> Files\GNURadio-3.7\share\gnuradio\grc\blocks\xmlrpc_server.xml
> <<< Welcome to GNU Radio Companion 3.7.13.5 >>>
> and it will not run two file i ha that use rtl
>
> yes the rtl works fine with other windows software
>
> the code never runs like it not loading when i click run no other
> windows open
>
> here a link to my files
> https://www.dropbox.com/s/hl4gt6atqioqfzy/FM_RX_1a.zip?dl=0
>
>  From main
> Generating:
> 'D:\\n9mfk\\Documents\\gnu\\GNURadio-FM-Receiver-FM_RX_1a\\fm_receiver.py'
>
> Generating:
> 'D:\\n9mfk\\Documents\\gnu\\GNURadio-FM-Receiver-FM_RX_1a\\fm_receiver.py'
>
> Executing: D:\Program Files\GNURadio-3.7\gr-python27\python.exe -u
> D:\n9mfk\Documents\gnu\GNURadio-FM-Receiver-FM_RX_1a\fm_receiver.py
>
> gr-osmosdr 4d83c606 (0.1.5git) gnuradio 3.7.13.5
> built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf
> airspy redpitaya
> [INFO] [UHD] Win32; Microsoft Visual C++ version 14.0; Boost_106000;
> UHD_3.14.1.HEAD-0-g5491b80e
>
>  >>> Done
>
>  From dos window
>
> Generating:
> 'D:\\n9mfk\\Documents\\gnu\\GNURadio-FM-Receiver-FM_RX_1a\\fm_receiver.py'
>
> Generating:
> 'D:\\n9mfk\\Documents\\gnu\\GNURadio-FM-Receiver-FM_RX_1a\\fm_receiver.py'
>
> Executing: D:\Program Files\GNURadio-3.7\gr-python27\python.exe -u
> D:\n9mfk\Documents\gnu\GNURadio-FM-Receiver-FM_RX_1a\fm_receiver.py
>
> gr-osmosdr 4d83c606 (0.1.5git) gnuradio 3.7.13.5
> built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf
> airspy redpitaya
> [INFO] [UHD] Win32; Microsoft Visual C++ version 14.0; Boost_106000;
> UHD_3.14.1.HEAD-0-g5491b80e
>
>  >>> Done
> Traceback (most recent call last):
>    File "D:\Program
> Files\GNURadio-3.7\lib\site-packages\gnuradio\grc\gui\ActionHandler.py",
> line 409, in _handle_action
>      file_path = SaveConsoleFileDialog(page.get_file_path(), main).run()
>    File "D:\Program
> Files\GNURadio-3.7\lib\site-packages\gnuradio\grc\gui\FileDialogs.py",
> line 128, in __init__
>      FileDialogHelper.__init__(self, gtk.FILE_CHOOSER_ACTION_SAVE, 'Save
> Console to a File...', parent)
>    File "D:\Program
> Files\GNURadio-3.7\lib\site-packages\gnuradio\grc\gui\FileDialogs.py",
> line 102, in __init__
>      gtk.FileChooserDialog.__init__(self, title, parent, action,
> ('gtk-cancel', gtk.RESPONSE_CANCEL, ok_stock, gtk.RESPONSE_OK))
> TypeError: parent must be a GtkWindow or None
> D:\Program Files\GNURadio-3.7\lib\site-packages\gnuradio\grc\main.py:54:
> GtkWarning: Input method multipress should not use GTK's translation
> domain gtk20
>    gtk.main()
> D:\Program Files\GNURadio-3.7\lib\site-packages\gnuradio\grc\main.py:54:
> GtkWarning: Input method multipress should not use GTK's translation
> domain gtk20
>    gtk.main()
>
> On 10/15/2019 19:17, Geof Nieboer wrote:
>> OK, can you be more specific about how it doesn't run?  What error is
>> it giving you?
>>
>> Have you used any other RTL-SDR software successfully in windows?
>>
>> Did you use the zadig utility to install the correct driver for the
>> RTL-SDR?  If the answer to this one and one above is no, then this is
>> 90% your issue.
>>
>> Geof
>>
>> On Tue, Oct 15, 2019 at 6:56 PM Beau Thompson <address@hidden
>> <mailto:address@hidden>> wrote:
>>
>>     that is how i installed it
>>
>>
>>     On 10/15/2019 17:17, Geof Nieboer wrote:
>>>     There are installers for windows:
>>>
>>>     http://www.gcndevelopment.com/gnuradio
>>>
>>>     That will come with RTL-SDR drivers, etc.  Just run the
>>>     "run_grc.bat" from the /bin directory (or use the installed
>>>     shortcuts)
>>>
>>>     Geof
>>>
>>>     On Sat, Oct 12, 2019 at 8:42 AM Chris Gorman
>>>     <address@hidden <mailto:address@hidden>> wrote:
>>>
>>>         Hmm,
>>>
>>>         Not too sure what is wrong.  First off are you sure you have
>>>         version
>>>         3.7.14.5?  I have 3.7.13.5 and can't find your newer version
>>>         in the
>>>         releases (https://www.gnuradio.org/releases/gnuradio/).
>>>         Assuming you
>>>         have just made a small typo, I have built gr-osmosdr
>>>         successfully with
>>>         3.7.13.5.  Here are the build instructions from the README
>>>
>>>         git clone git://git.osmocom.org/gr-osmosdr
>>>         <http://git.osmocom.org/gr-osmosdr>
>>>         cd gr-osmosdr/
>>>         mkdir build
>>>         cd build/
>>>         cmake ../
>>>         make
>>>         sudo make install
>>>         sudo ldconfig
>>>
>>>         It has been a while since I built this, so I don't recall the
>>>         dependencies you need to install, but you will at least need
>>>         the dev
>>>         files for your rtl-sdr source.  I recommend trying to install
>>> the
>>>         rtl-sdr libraries and headers as described in
>>>         https://osmocom.org/projects/rtl-sdr/wiki .  (Note this needs
>>>         to be
>>>         done before you install gr-osmosdr.)
>>>
>>>         As to installing under windows, I don't know how to help with
>>>         that.  Sorry.
>>>
>>>         Let me know what you get after trying to build rtl-sdr and
>>>         gr-osmosdr.
>>>
>>>         Chris
>>>
>>>         On Sat, Oct 12, 2019 at 8:07 AM Beau Thompson
>>>         <address@hidden <mailto:address@hidden>> wrote:
>>>         >
>>>         > Hi If i try an run any code with RTL-SDR source it will not
>>> run
>>>         >
>>>         > how can i fix this or is there a way i can have to installs
>>>         under windows
>>>         >
>>>         > thanks beau
>>>         >
>>>         >
>>>         > _______________________________________________
>>>         > Discuss-gnuradio mailing list
>>>         > address@hidden <mailto:address@hidden>
>>>         > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>
>>>         _______________________________________________
>>>         Discuss-gnuradio mailing list
>>>         address@hidden <mailto:address@hidden>
>>>         https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]