discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Difference between usrp in gnuradio and usrp in g


From: sumitstop
Subject: Re: [Discuss-gnuradio] Difference between usrp in gnuradio and usrp in grc_gnuradio
Date: Thu, 5 Apr 2012 05:08:47 -0700 (PDT)

Hi Songsong , 
The lab material which you have mentioned seems to be good one. Can you
share some more if they are available. It will be a good reference to start
with GnuRadio for beginners. 

Thanks 

Songsong Gee wrote:
> 
> I'm examining a GNU Radio Lab material:
> Blad, Olofsson - 2011 - Software-Defined Radio Lab 1 Getting in Touch with
> GNU Radio and the
> USRP<http://dl.dropbox.com/u/11382666/Blad%2C%20Olofsson%20-%202011%20-%20Software-Defined%20Radio%20Lab%201%20Getting%20in%20Touch%20with%20GNU%20Radio%20and%20the%20USRP.pdf>
> 
> This uses LFRX/LFTX daughterboards and the following codes for
> transmitting
> a signal (assume all variables are set correctly):
> 
> from gnuradio import usrp
> # ... blahblah
> 
> subdev_spec = (0,0)
> subdev = self.u.selected_subdev(subdev_spec)
> self.u.set_mux(self.u.determine_tx_mux_value(subdev_spec))
> self.u.tune(0, subdev, carrier)
> subdev.set_gain(0)
> 
> Currently, however, I wanted to modify this codes for a RFX2400
> daughterboard, and when I use that codes without any changes, it doesn't
> work
> I cannot see anything but noise with usrp_fft.py. Thus, I changed the
> codes
> with the following:
> 
> from grc_gnuradio import usrp as grc_usrp
> # ... blahblah
> self.usrp_simple_sink_x_0 = grc_usrp.simple_sink_c(which=0, side="A")
> self.usrp_simple_sink_x_0.set_interp_rate(500)
> self.usrp_simple_sink_x_0.set_frequency(2.412*(10**9), verbose=False)
> self.usrp_simple_sink_x_0.set_gain(0)
> self.usrp_simple_sink_x_0.set_enable(True)
> self.usrp_simple_sink_x_0.set_auto_tr(True)
> 
> 
> And then it finally works fine.
> 
> Is there any difference between using usrp in gnuradio and usrp in
> grc_gnuradio ?
> And the former code is only working for LFRX/LFTX ? and the latter one is
> working for other ones?
> 
> -- 
> Seokseong Jeon, PhD Candidate
> Communication & Networks Lab
> IT Convergence Engineering (ITCE), POSTECH, Korea
> +82 10 8338 1229, gee.songsong at gmail . com
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 


-----
Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India
-- 
View this message in context: 
http://old.nabble.com/Difference-between-usrp-in-gnuradio-and-usrp-in-grc_gnuradio-tp33567618p33569420.html
Sent from the GnuRadio mailing list archive at Nabble.com.




reply via email to

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