[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuradio-discuss
Subject:    Re: [Discuss-gnuradio] [USRP-users] Dynamically Sweep Center Frequency for USRP2
From:       Patrick Sathyanathan <wpats () hotmail ! com>
Date:       2017-10-30 22:00:37
Message-ID: CY4PR10MB188003C64CC3C6EBFDF34E0FAE590 () CY4PR10MB1880 ! namprd10 ! prod ! outlook ! com
[Download RAW message or body]

You can look at usrp_spectrum_sense script. This sweeps a specified frequen=
cy range, does an FFT, and outputs one line for every bin where the magnitu=
de exceeds a specified limit.


You could modify it to just write the samples to a file/pipe like uhd_rx_cf=
ile.


--Patrick

________________________________
From: USRP-users <usrp-users-bounces@lists.ettus.com> on behalf of Rohit Ku=
lkarni 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<mailto=
:k.rohit.u@gmail.com>> wrote:
Hi,

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

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

Apologies if this exact question is answered before!

Thanks,
Rohit


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} \
--></style> </head>
<body dir="ltr">
<div id="divtagdefaultwrapper" \
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" \
dir="ltr"> <p>&nbsp;</p>
<div style="color: rgb(0, 0, 0);">
<div id="divRplyFwdMsg" dir="ltr"></div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; \
font-family:Calibri,Helvetica,sans-serif" dir="ltr"> <p>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.</p> \
<p><br> </p>
<p>You could modify it to just write the samples to a file/pipe like \
uhd_rx_cfile.</p> <p><br>
</p>
<p>--Patrick<br>
</p>
<br>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" \
style="font-size:11pt"><b>From:</b> USRP-users \
&lt;usrp-users-bounces@lists.ettus.com&gt; on behalf of Rohit Kulkarni via USRP-users \
&lt;usrp-users@lists.ettus.com&gt;<br> <b>Sent:</b> Sunday, October 29, 2017 6:02 \
PM<br> <b>To:</b> usrp-users@lists.ettus.com<br>
<b>Subject:</b> Re: [USRP-users] Dynamically Sweep Center Frequency for USRP2</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>Can someone help me with this?</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Rohit</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Oct 26, 2017 at 2:47 PM, Rohit Kulkarni <span \
dir="ltr"> &lt;<a href="mailto:k.rohit.u@gmail.com" \
target="_blank">k.rohit.u@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; \
padding-left:1ex"> <div dir="ltr">Hi,
<div><br>
</div>
<div>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&nbsp;<i>uhd_rx_cfile -A $ANTENNA
 -r $SAMPLE_RATE_SPS -f $FREQ_HZ -g $GAIN </i>command to set the center \
frequency.</div> <div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Apologies if this exact question is answered before!</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Rohit</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

--===============3769572023208117786==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic