I got it what you are trying to say but i haven't mentioned any integer type in the code so which very large value is it taking.
-saketh On Fri, Aug 5, 2011 at 1:35 PM, saketh kumar <m.sakethku...@gmail.com>wrote: > Hi > > Thanks marcus. I am new to Gnu Radio and Python. I am working on USRP > N200 with RFX2400. I am trying to make digital-bert scripts to work for UHD. > I made some changes in the code but i am encoutering errors. The latest > error is shown below: > > > aravind@COE-CW85V91:~/gnuradio/gnuradio-examples/python/digital-bert$ > ./benchmark_tx1.py --tx-freq=2500M -g 32 --ip=192.168.10.2 > 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 > > UHD Warning: > The recv buffer could not be resized sufficiently. > Target sock buff size: 50000000 bytes. > Actual sock buff size: 131071 bytes. > See the transport application notes on buffer resizing. > Please run: sudo sysctl -w net.core.rmem_max=50000000 > > UHD Warning: > The recv buffer could not be resized sufficiently. > Target sock buff size: 50000000 bytes. > Actual sock buff size: 131071 bytes. > See the transport application notes on buffer resizing. > Please run: sudo sysctl -w net.core.rmem_max=50000000 > -- 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: 32 dB > Actual center frequency 2.5G > UUterminate called after throwing an instance of > 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::math::rounding_error> > >' > what(): Error in function boost::math::iround<d>(d): Value > 7.3939377762685976e+134 can not be represented in the target integer type. > Aborted > > any help or feedback will be appreciated. > > Thanks > --Saketh > > > > On Thu, Aug 4, 2011 at 1:28 PM, saketh kumar <m.sakethku...@gmail.com>wrote: > >> Hi >> >> I am trying to make digital-bert scripts work with USRP N200, RFX2400. I >> have changed my code a little bit. But it shows me an error saying "object >> has no attribute". >> >> >> aravind@COE-2X85V91:~/gnuradio/gnuradio-examples/python/digital-bert$ >> ./benchmark_tx1.py -f 2500M >> linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.001.002-ba0e3c8 >> >> >>> gr_fir_ccf: using SSE >> Modulation: 250k bits/sec >> TX IF rate: 500k samples/sec >> USRP interpolation: 256 >> DAC amplitude: 2000 >> Traceback (most recent call last): >> File "./benchmark_tx1.py", line 108, in <module> >> tb = tx_bpsk_block(options) >> File "./benchmark_tx1.py", line 52, in __init__ >> self._setup_usrp(options.ip, >> File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/top_block.py", >> line 94, in __getattr__ >> return getattr(self._tb, name) >> AttributeError: 'gr_top_block_sptr' object has no attribute '_setup_usrp' >> >> Can anyone help me out, how to resolve this error ? Attached is my little >> modified code. >> -- >> Saketh Kumar >> > > > > -- > Saketh Kumar > -- Saketh Kumar
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio