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,
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, 10000, ampl)
dst=usrp.sink_c(which=0, interp_rate=400, nchan=1, mux=0x98,
fusb_block_size=0, fusb_nblocks=0, fpga_filename="",
firmware_filename="")
But i don't know how to set the carrier frequecy. I have found some
functions to set it but this time i couldn't find which module should
i import.
2010/7/9, mehmet kabasakal<85kabasa...@gmail.com>:
Hi guys,
I am trying to write simple Pyhton applications by using the blocks in
the gnuradio. But i don't know which module should i import to use the
related function. Is there any document about it. On net i found that
"gr module" should be imported nearly for all applications but
sometimes it doesn't sufficient.
Thanks.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio