Re: [Discuss-gnuradio] Re: Import Question

2010-07-10 Thread Josh Blum
On 07/10/2010 12:34 AM, mehmet kabasakal wrote: Thanks Josh, I will try to understand the generated python code after execution of grc file. One more thing, while i was searching on the net, i found http://www.joshknows.com/gnuradio this link. In the USRP Sink part, the script #Tune the cente

Re: [Discuss-gnuradio] Re: Import Question

2010-07-10 Thread mehmet kabasakal
Thanks Josh, I will try to understand the generated python code after execution of grc file. One more thing, while i was searching on the net, i found http://www.joshknows.com/gnuradio this link. In the USRP Sink part, the script #Tune the center frequency u.tune(subdev._which, subdev, frequency)

Re: [Discuss-gnuradio] Re: Import Question

2010-07-09 Thread Josh Blum
I recommend that you try the gnuradio-companion and learn from the generated code. Also, it will drastically simplify the creation of usrp source and sink block for you. http://gnuradio.org/redmine/wiki/gnuradio/GNURadioCompanion -Josh On 07/09/2010 05:18 AM, mehmet kabasakal wrote: Hi guys,

[Discuss-gnuradio] Re: Import Question

2010-07-09 Thread mehmet kabasakal
Hi guys, To make the previous question more clear i want to give an example. İ am trying to produce a cosine wave and send it via USRP. Then i used the functions gr.sig_source_c (sample_rate, gr.GR_COS_WAVE, 1, ampl) dst=usrp.sink_c(which=0, interp_rate=400, nchan=1, mux=0x98, fusb_block_siz