Limiting X-axis Scale in GNU Radio QT GUI Frequency Sink Block

2024-07-09 Thread Muhammad Anas
Dear GNU Radio Community,

I hope this message finds you well. Currently, I am engaged in a project
involving spectrum analysis through GNU Radio Companion, utilizing the QT
GUI Frequency Sink block for visualizing the frequency spectrum.

I am seeking guidance on a specific requirement: Is there a straightforward
method to restrict the x-axis scale of the frequency spectrum display
between any two frequencies, such as -500 Hz to 500 Hz?

Your insights or suggestions on achieving this would be immensely valuable
to my project.

Thank you sincerely for your assistance.

Best regards,

Muhammad Anas


Re: Limiting X-axis Scale in GNU Radio QT GUI Frequency Sink Block

2024-07-09 Thread Marcus Müller

Hi Muhammad,

you simply resample to that bandwidth before feeding into the frequency sink. Note that 
the labels on the x-axis are only derived from the bandwidth you set in the frequency 
sink; in fact, the frequency sink knows nothing about "real" frequencies, it only sees the 
sample values, so all things it does are scaled to the Nyquist bandwidth.


Best regards,
Marcus

On 09.07.24 11:10, Muhammad Anas wrote:

Dear GNU Radio Community,

I hope this message finds you well. Currently, I am engaged in a project involving 
spectrum analysis through GNU Radio Companion, utilizing the QT GUI Frequency Sink block 
for visualizing the frequency spectrum.


I am seeking guidance on a specific requirement: Is there a straightforward method to 
restrict the x-axis scale of the frequency spectrum display between any two frequencies, 
such as -500 Hz to 500 Hz?


Your insights or suggestions on achieving this would be immensely valuable to 
my project.

Thank you sincerely for your assistance.

Best regards,

Muhammad Anas





QT GUI Inspector Sink Block

2024-07-09 Thread Muhammad Anas
Dear GNU Radio Community,

I hope this message finds you well. Currently, I am engaged in a project
involving spectrum analysis through GNU Radio Companion, utilizing the QT
GUI Inspector Sink block for visualizing the frequency peaks magnitudes in
dB.

I am seeking guidance on a specific requirement: Is there any information
about how to use this block, as there is no documentation of this block in
https://wiki.gnuradio.org/index.php/Main_Page. I connected this block but
there is occurring red arrow, so how to solve this problem.

Your insights or suggestions on achieving this would be immensely valuable
to my project.

Thank you sincerely for your assistance.

Best regards,

Muhammad Anas


Re: QT GUI Inspector Sink Block

2024-07-09 Thread Marcus Müller

Hi Muhammad,

you're connecting the wrong kinds of things there. The QT GUI Inspector sink takes output 
of the Signal Detector block, from gr-inspector itself.


gr-inspector has an examples/ directory. Please refer to that.

Best regards,
Marcus

On 09.07.24 13:02, Muhammad Anas wrote:

Dear GNU Radio Community,

I hope this message finds you well. Currently, I am engaged in a project involving 
spectrum analysis through GNU Radio Companion, utilizing the QT GUI Inspector Sink block 
for visualizing the frequency peaks magnitudes in dB.


I am seeking guidance on a specific requirement: Is there any information about how to use 
this block, as there is no documentation of this block in 
https://wiki.gnuradio.org/index.php/Main_Page 
. I connected this block but there is 
occurring red arrow, so how to solve this problem.


Your insights or suggestions on achieving this would be immensely valuable to 
my project.

Thank you sincerely for your assistance.

Best regards,

Muhammad Anas