Friday, May 3, 2024

RE: Period doesn't match for frequency sweeping using probe

Hei Wei,

 

Try adding a Throttle block to the upper branch too. A quick test shows that if you have two independent data flow paths, the sample rate will be way too high (see log output in the lower left corner: rate is at 300 MS/s

 

 

Compare this to the same flowgraph with added throttle in the upper branch:

 

 

Now the sample rate is as expected at 32k.

 

Hope this helps in finding your issue!

 

-Adrian

 

From: discuss-gnuradio-bounces+adrian.winter=sintef.no@gnu.org <discuss-gnuradio-bounces+adrian.winter=sintef.no@gnu.org> On Behalf Of Huang Wei
Sent: fredag 3. mai 2024 12:55
To: GNURadio Discussion List <discuss-gnuradio@gnu.org>
Subject: Period doesn't match for frequency sweeping using probe

 

Hello GNURadio community,

 

I am trying to generate a sweeping frequency signal. I use a probe to detect a Triangle signal with 1 s period, and measure the level using function probe.

Then I set the frequency of the signal source to 10e6 * func_probe, hoping it starts to sweep from -5e6 to 5e6 Hz with 1 s period. It does sweep between -5e6-5e6 Hz, but with much faster period than 1 s.  Could you please help me to figure out where is the problem for the period mismatch

 

Thank you very much!

Wei  

 

 

No comments:

Post a Comment