Dear Diyar,
this looks like you might be using a version of the benchmark
scripts that you took from the web.
You must use the scripts in the version that came with your
installation of GNU Radio!
You should probably find those under
/usr/share/gnuradio/examples/digital or
/usr/local/share/gnuradio/examples/digital
Best regards,
Marcus
On 06.03.2016 16:52, Diyar Muhammed
wrote:
Dear all,
I use the benchmark_rx.py and tx.py and I got some warning
as shown below:
For RX:
address@hidden ~/Downloads $ sudo
python benchmark_rx.py --freq=5.8e9
linux; GNU C++ version 4.8.2;
Boost_105400; UHD_003.008.001-105-g91ae742f
Traceback (most recent call
last):
File "benchmark_rx.py", line
122, in <module>
main()
File "benchmark_rx.py", line
111, in main
tb =
my_top_block(rx_callback, options)
File "benchmark_rx.py", line
44, in __init__
options.lo_offset,
options.rx_gain,
AttributeError: Values instance
has no attribute 'lo_offset'
For TX
address@hidden ~/Downloads $ sudo
python benchmark_tx.py --freq=5.8e9
linux; GNU C++ version 4.8.2;
Boost_105400; UHD_003.008.001-105-g91ae742f
-- Operating over USB 3.
-- Initialize CODEC control...
-- Initialize Radio control...
-- Performing register loopback
test... pass
-- Performing register loopback
test... pass
-- Performing CODEC loopback
test... pass
-- Performing CODEC loopback
test... pass
-- Asking for clock rate
32.000000 MHz...
-- Actually got clock rate
32.000000 MHz.
-- Performing timer loopback
test... pass
-- Performing timer loopback
test... pass
-- Setting master clock rate
selection to 'automatic'.
No gain specified.
Setting gain to 44.875000 (from
[0.000000, 89.750000])
-- Successfully tuned to
5800.000000 MHz
--
-- Asking for clock rate
51.200000 MHz...
-- Actually got clock rate
51.200000 MHz.
-- Performing timer loopback
test... pass
-- Performing timer loopback
test... pass
-- Asking for clock rate
38.400000 MHz...
-- Actually got clock rate
38.400000 MHz.
-- Performing timer loopback
test... pass
-- Performing timer loopback
test... pass
Bit Rate:
100000.000000
Requested sps: 2.000000
Given sample rate:
299999.999065
Actual sps for rate: 3.000000
Requested sample rate:
300000.000000
Actual sample rate:
299999.999065
Using Volk machine:
avx_64_mmx_orc
Traceback (most recent call
last):
File "benchmark_tx.py", line
147, in <module>
main()
File "benchmark_tx.py", line
111, in main
tb =
my_top_block(mods[options.modulation], options)
File "benchmark_tx.py", line
61, in __init__
self.txpath =
transmit_path(modulator, options)
File "/home/mint/Downloads/transmit_path.py", line 61, in
__init__
self.amp =
gr.multiply_const_cc(1)
AttributeError: 'module' object
has no attribute 'multiply_const_cc'
address@hidden ~/Downloads $
--
Regards,
Diyar
Muhammed
Ministry
of Higher Education and Scientific Research
Duty:
Network Administration and Design
Website: www.mhe-krg.org
Cell Phone: 009647504690060
Office Phone: 00964662554683
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
|