It sounds you have a USRP B2xx (USRPs are very different, just saying "USRP"
says little).
For a limited numbers of frequencies you tune to, you can program the AD9361 to "know" the
physical parameters of the tuning, and hop between these frequencies.
But two obstacles:
- that number is too small to build a scanner with it
- you would need to circumvent most of UHD's tuning logic, so this would be a fundamental
rewrite of your application, modifying your version of UHD, probably replacing the UHD
USRP Source, and probably changing the overall logic flow.
So, no, in all practical terms, since you simply can't preprogram the properties for all
your hops, you will have to let the hardware take as long as it takes.
Best regards,
Marcus
On 3/21/25 4:35 PM, Oğuzhan Gedikli wrote:
Hi,
Actually, I have already created the code. I can scan the entire band with a switch
algorithm. Or I can perform a scan according to the frequency ranges I enter.
Thank you for the information that the bandwidth is 56MHz regardless, this was really
valuable information and explains why frequency switches at short distances, actually
within 56 MHz, also take a short time.
What I am really curious about is, is there any way to speed up the frequency switch of
this board? I accept responsibility for all unsafe ways.
Kind regards,
------------------------------------------------------------------------------------------
*Gönderen:* Anıl Gürses <anilgurse...@gmail.com>
*Gönderildi:* 20 Mart 2025 Perşembe 19:30
*Kime:* Oğuzhan Gedikli <ouzan...@hotmail.com>
*Bilgi:* discuss-gnuradio@gnu.org <discuss-gnuradio@gnu.org>
*Konu:* Re: Spectrum Analyzer
Hi Oğuzhan,
My main goal is to create a spectrum that I can look at between 70mhz -
6ghz. When I
set the bandwidth to 6ghz, i can actually see it in a window, but the
sample rate of
my card is 56mhz. So wouldn't the maximum bandwidth I can see be 56 mhz?
QT GUI sink's bandwidth parameter is used for setting x-axis labels similar to the center
frequency parameter. Therefore, the plot you see has 56 MHz bandwidth with wrong x-axis
labels. Ref -> https://wiki.gnuradio.org/index.php/QT_GUI_Frequency_Sink <https://
wiki.gnuradio.org/index.php/QT_GUI_Frequency_Sink>
Another Question: Can i build a 6ghz spectrum analyzer on gnuradio without
writing any
frequency switch algorithm?
You can't. Sweeping the frequencies at a very fast pace presents a performance bottleneck.
You can use stream-to-vector, vector-to-stream, and Python blocks to combine samples from
different frequencies. Before applying stream-to-vector, you need to upconvert the
collected signal. Afterward, you can feed it into the QT GUI sink. However, processing all
those samples will take considerable time, especially given the 6GHz bandwidth sweep. This
is just a simple, generalized implementation and may omit some steps.
Respectfully,
A.
On Thu, Mar 20, 2025 at 7:07 AM Oğuzhan Gedikli <ouzan...@hotmail.com
<mailto:ouzan...@hotmail.com>> wrote:
Hello,
I want to make a spectrum analyzer. i have a USRP. I did this using QT GUI
Range.
My main goal is to create a spectrum that I can look at between 70mhz -
6ghz. When I
set the bandwidth to 6ghz, i can actually see it in a window, but the
sample rate of
my card is 56mhz. So wouldn't the maximum bandwidth I can see be 56 mhz?
Another Question: Can i build a 6ghz spectrum analyzer on gnuradio without
writing any
frequency switch algorithm?
Kind regards,