[Top][All Lists]

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

Re: [Discuss-gnuradio] Re: Import Question

From: Josh Blum
Subject: Re: [Discuss-gnuradio] Re: Import Question
Date: Fri, 09 Jul 2010 10:34:39 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100527 Thunderbird/3.0.5

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.



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="",

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<address@hidden>:
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.


Discuss-gnuradio mailing list

reply via email to

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