Monday, October 30, 2017

Re: [Discuss-gnuradio] [USRP-users] Dynamically Sweep Center Frequency for USRP2

 

You can look at usrp_spectrum_sense script. This sweeps a specified frequency range, does an FFT, and outputs one line for every bin where the magnitude exceeds a specified limit.


You could modify it to just write the samples to a file/pipe like uhd_rx_cfile.


--Patrick



From: USRP-users <usrp-users-bounces@lists.ettus.com> on behalf of Rohit Kulkarni via USRP-users <usrp-users@lists.ettus.com>
Sent: Sunday, October 29, 2017 6:02 PM
To: usrp-users@lists.ettus.com
Subject: Re: [USRP-users] Dynamically Sweep Center Frequency for USRP2
 
Hi,

Can someone help me with this?


Thanks,
Rohit

On Thu, Oct 26, 2017 at 2:47 PM, Rohit Kulkarni <k.rohit.u@gmail.com> wrote:
Hi,

I am working on a project that requires capturing the analog signal in a particular band with the help of USRP2 and then it sends the data over the GigE connection to the host machine for further processing. Currently, I am using uhd_rx_cfile -A $ANTENNA -r $SAMPLE_RATE_SPS -f $FREQ_HZ -g $GAIN command to set the center frequency.

Next, I want to write a program/use an existing program/script which uniformly sweeps the center frequency in some particular range (say 100MHz to 1 GHz). Can you tell me if there is any existing script that does this? Any pointers on how I can write a new script from scratch?

Apologies if this exact question is answered before!

Thanks,
Rohit

No comments:

Post a Comment