Discussion:
[Hackrf-dev] Where is a problem - GNU radio
Jahn
2018-02-01 18:45:40 UTC
Permalink
I have just started recently with GNU Radio and HackRF.
I tried the first lesson at
http://greatscottgadgets.com/sdr/1/

But it does not work for me.
See the output below.
Can anyone help?
Thank you


<<< Welcome to GNU Radio Companion 3.7.11.1 >>>

Block paths:
C:\Program Files\PothosSDR\share\gnuradio\grc\blocks
C:\Program Files\PothosSDR\share\gnuradio\grc\blocks

Generating: 'C:\\Users\\lad\\Documents\\top_block.py'

Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'

Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py

Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf airspy soapy redpitaya

-- Using subdev spec '0:0'.

UHD Warning:
Setting DC offset compensation is not possible on this device.

UHD Warning:
Setting DC offset is not possible on this device.

UHD Warning:
Setting IQ balance is not possible on this device.
C:\Users\lad\AppData\Roaming\.gnuradio\prefs\vmcircbuf_default_factory: No such file or
directory
-- Using format CF32.
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'

Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py

Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf airspy soapy redpitaya

-- Using subdev spec '0:0'.

UHD Warning:
Setting DC offset compensation is not possible on this device.

UHD Warning:
Setting DC offset is not possible on this device.

UHD Warning:
Setting IQ balance is not possible on this device.
-- Using format CF32.
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'

Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py

Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf airspy soapy redpitaya

-- Using subdev spec '0:0'.

UHD Warning:
Setting DC offset compensation is not possible on this device.

UHD Warning:
Setting DC offset is not possible on this device.

UHD Warning:
Setting IQ balance is not possible on this device.
-- Using format CF32.
gr::pagesize: no info; setting pagesize = 4096
thread[thread-per-block[0]: <block gr uhd usrp source (11)>]: RtAudio init error
'RtApiDs::probeDeviceOpen: error (Invalid parameter) creating input buffer (Default
Device)!
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'

Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py

Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf airspy soapy redpitaya

-- Using subdev spec '0:0'.

UHD Warning:
Setting DC offset compensation is not possible on this device.

UHD Warning:
Setting DC offset is not possible on this device.

UHD Warning:
Setting IQ balance is not possible on this device.
-- Using format CF32.
gr::pagesize: no info; setting pagesize = 4096
thread[thread-per-block[0]: <block gr uhd usrp source (11)>]: RtAudio init error
'RtApiDs::probeDeviceOpen: error (Invalid parameter) creating input buffer (Default
Device)!
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'

Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py

Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf airspy soapy redpitaya

-- Using subdev spec '0:0'.

UHD Warning:
Setting DC offset compensation is not possible on this device.

UHD Warning:
Setting DC offset is not possible on this device.

UHD Warning:
Setting IQ balance is not possible on this device.
-- Using format CF32.
gr::pagesize: no info; setting pagesize = 4096
thread[thread-per-block[0]: <block gr uhd usrp source (11)>]: RtAudio init error
'RtApiDs::probeDeviceOpen: error (Invalid parameter) creating input buffer (Default
Device)!
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'

Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py

Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf airspy soapy redpitaya

-- Using subdev spec '0:0'.

UHD Warning:
Setting DC offset compensation is not possible on this device.

UHD Warning:
Setting DC offset is not possible on this device.

UHD Warning:
Setting IQ balance is not possible on this device.
-- Using format CF32.
gr::pagesize: no info; setting pagesize = 4096
thread[thread-per-block[0]: <block gr uhd usrp source (11)>]: RtAudio init error
'RtApiDs::probeDeviceOpen: error (Invalid parameter) creating input buffer (Default
Device)!
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'

Loading: "C:\HackRF\lesson1.grc"
Done
Generating: 'C:\\HackRF\\top_block.py'

Executing: C:\Python27\python.exe -u C:\HackRF\top_block.py

Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf airspy soapy redpitaya

-- Using subdev spec '0:0'.

UHD Warning:
Setting DC offset compensation is not possible on this device.

UHD Warning:
Setting DC offset is not possible on this device.

UHD Warning:
Setting IQ balance is not possible on this device.
INFO: Audio sink arch: windows
-- Using format CF32.
gr::pagesize: no info; setting pagesize = 4096
thread[thread-per-block[1]: <block gr uhd usrp source (13)>]: RtAudio init error
'RtApiDs::probeDeviceOpen: error (Invalid parameter) creating input buffer (Default
Device)!


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Dominic Spill
2018-02-01 21:33:55 UTC
Permalink
It looks like the gr-osmosdr block is expecting you to have a USRP attached
and failing to find it.

If you double click on the gr-osmosdr block, there is a field called
"Device Arguments". Try setting that field to "hackrf=0"

Dominic
Post by Jahn
I have just started recently with GNU Radio and HackRF.
I tried the first lesson at
http://greatscottgadgets.com/sdr/1/
But it does not work for me.
See the output below.
Can anyone help?
Thank you
<<< Welcome to GNU Radio Companion 3.7.11.1 >>>
C:\Program Files\PothosSDR\share\gnuradio\grc\blocks
C:\Program Files\PothosSDR\share\gnuradio\grc\blocks
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'
Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'
Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py
Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d
gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf
bladerf airspy soapy redpitaya
-- Using subdev spec '0:0'.
Setting DC offset compensation is not possible on this device.
Setting DC offset is not possible on this device.
Setting IQ balance is not possible on this device.
C:\Users\lad\AppData\Roaming\.gnuradio\prefs\vmcircbuf_default_factory: No such file or
directory
-- Using format CF32.
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'
Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py
Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d
gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf
bladerf airspy soapy redpitaya
-- Using subdev spec '0:0'.
Setting DC offset compensation is not possible on this device.
Setting DC offset is not possible on this device.
Setting IQ balance is not possible on this device.
-- Using format CF32.
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'
Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py
Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d
gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf
bladerf airspy soapy redpitaya
-- Using subdev spec '0:0'.
Setting DC offset compensation is not possible on this device.
Setting DC offset is not possible on this device.
Setting IQ balance is not possible on this device.
-- Using format CF32.
gr::pagesize: no info; setting pagesize = 4096
thread[thread-per-block[0]: <block gr uhd usrp source (11)>]: RtAudio init error
'RtApiDs::probeDeviceOpen: error (Invalid parameter) creating input buffer (Default
Device)!
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'
Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py
Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d
gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf
bladerf airspy soapy redpitaya
-- Using subdev spec '0:0'.
Setting DC offset compensation is not possible on this device.
Setting DC offset is not possible on this device.
Setting IQ balance is not possible on this device.
-- Using format CF32.
gr::pagesize: no info; setting pagesize = 4096
thread[thread-per-block[0]: <block gr uhd usrp source (11)>]: RtAudio init error
'RtApiDs::probeDeviceOpen: error (Invalid parameter) creating input buffer (Default
Device)!
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'
Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py
Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d
gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf
bladerf airspy soapy redpitaya
-- Using subdev spec '0:0'.
Setting DC offset compensation is not possible on this device.
Setting DC offset is not possible on this device.
Setting IQ balance is not possible on this device.
-- Using format CF32.
gr::pagesize: no info; setting pagesize = 4096
thread[thread-per-block[0]: <block gr uhd usrp source (11)>]: RtAudio init error
'RtApiDs::probeDeviceOpen: error (Invalid parameter) creating input buffer (Default
Device)!
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'
Executing: C:\Python27\python.exe -u C:\Users\lad\Documents\top_block.py
Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d
gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf
bladerf airspy soapy redpitaya
-- Using subdev spec '0:0'.
Setting DC offset compensation is not possible on this device.
Setting DC offset is not possible on this device.
Setting IQ balance is not possible on this device.
-- Using format CF32.
gr::pagesize: no info; setting pagesize = 4096
thread[thread-per-block[0]: <block gr uhd usrp source (11)>]: RtAudio init error
'RtApiDs::probeDeviceOpen: error (Invalid parameter) creating input buffer (Default
Device)!
Done
Generating: 'C:\\Users\\lad\\Documents\\top_block.py'
Loading: "C:\HackRF\lesson1.grc"
Done
Generating: 'C:\\HackRF\\top_block.py'
Executing: C:\Python27\python.exe -u C:\HackRF\top_block.py
Win32; Microsoft Visual C++ version 14.0; Boost_106300;
UHD_003.010.003.000-0-gd9643b9d
gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf
bladerf airspy soapy redpitaya
-- Using subdev spec '0:0'.
Setting DC offset compensation is not possible on this device.
Setting DC offset is not possible on this device.
Setting IQ balance is not possible on this device.
INFO: Audio sink arch: windows
-- Using format CF32.
gr::pagesize: no info; setting pagesize = 4096
thread[thread-per-block[1]: <block gr uhd usrp source (13)>]: RtAudio init error
'RtApiDs::probeDeviceOpen: error (Invalid parameter) creating input buffer (Default
Device)!
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
HackRF-dev mailing list
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
Loading...