[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] uhd digital-bert script !
From: |
Nick Foster |
Subject: |
Re: [Discuss-gnuradio] uhd digital-bert script ! |
Date: |
Mon, 08 Aug 2011 09:58:10 -0700 |
On Mon, 2011-08-08 at 12:16 -0400, saketh kumar wrote:
> Hello everyone
>
> I am working on USRPN200 with RFX2400. I am trying to make
> digital-bert scripts to work for uhd devices. I have modified them a
> bit but i am getting some errors which am unable to debug. If anyone
> can help me out. Attached are my benchmark_tx and transmit_path
> scripts.
>
> while running the script, it shows me :
>
> address@hidden:~/gnuradio/gnuradio-examples/python/digital-bert
> $ ./uhd_benchmark_tx.py -f 2500M -g 16
> linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.001.002-5239879
>
> >>> gr_fir_ccf: using SSE
> Modulation: 250k bits/sec
> TX IF rate: 500k samples/sec
> USRP interpolation: 256
> DAC amplitude: 2000
> -- Opening a USRP2/N-Series device...
> -- Current recv frame size: 1472 bytes
> -- Current send frame size: 1472 bytes
> -- mboard0 is MIMO master
>
> UHD Warning:
> Unable to set the thread priority. Performance may be negatively
> affected.
> Please see the general application notes in the manual for
> instructions.
> EnvironmentError: OSError: error in pthread_setschedparam
> Gain d'board: 16 dB
> Actual center frequency 2.5G
> Traceback (most recent call last):
> File "./uhd_benchmark_tx.py", line 109, in <module>
> tb = tx_bpsk_block(options)
> File "./uhd_benchmark_tx.py", line 56, in __init__
> self.connect(self._transmitter, self._usrp)
> File
> "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/top_block.py",
> line 124, in connect
> self._connect(points[i-1], points[i])
> File
> "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/top_block.py",
> line 130, in _connect
> dst_block.to_basic_block(), dst_port)
> File
> "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py",
> line 1504, in primitive_connect
> return
> _gnuradio_core_runtime.gr_top_block_sptr_primitive_connect(self,
> *args)
> ValueError: port number 0 exceeds max of (none)
You're connecting a signal source to a USRP source. The source block is
the "receiver" block; it produces samples. The sink block is the
"transmitter" block; it consumes samples.
--n
>
>
> --
> Saketh Kumar
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio