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

2024-05-03 Thread Huang Wei
Thank you Marcus for reminding me of this.
I need a high tuning rate, that's why I didn't choose to tune the USRP
directly.

Regards,
Wei

On Fri, 3 May 2024 at 14:40, Marcus D. Leech 
wrote:

> On 03/05/2024 09:39, Huang Wei wrote:
>
> I am actually trying to input this sweeping signal to a USRP sink (X310 +
> UBX 160) to let it sweep around its central frequency (e.g., 200 MHz +/- 5
> MHz). Do you have any suggestions for this configuration?
>
> Thank you!
> Wei
>
> Sweeping the baseband is fine.  That should work.My point was about
> re-tuning the hardware at those rates.
>
>
>
> On Fri, 3 May 2024 at 14:27, Marcus D. Leech 
> wrote:
>
>> On 03/05/2024 09:24, Huang Wei wrote:
>> > Hi Adrian and Marcus,
>> >
>> > That solved the problem : )
>> > Thank you very much for your help!
>> >
>> > Kind regards,
>> > Wei
>> You're welcome.
>>
>> I'll note that your probe is operating at 10KHz.  Actual real radio
>> hardware will be unlikely to be able to
>>re-tune at that rate, should you "graduate" to real hardware.
>>
>
>


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

2024-05-03 Thread Marcus D. Leech

On 03/05/2024 09:39, Huang Wei wrote:
I am actually trying to input this sweeping signal to a USRP sink 
(X310 + UBX 160) to let it sweep around its central frequency (e.g., 
200 MHz +/- 5 MHz). Do you have any suggestions for this configuration?


Thank you!
Wei
Sweeping the baseband is fine.  That should work.    My point was about 
re-tuning the hardware at those rates.





On Fri, 3 May 2024 at 14:27, Marcus D. Leech  
wrote:


On 03/05/2024 09:24, Huang Wei wrote:
> Hi Adrian and Marcus,
>
> That solved the problem : )
> Thank you very much for your help!
>
> Kind regards,
> Wei
You're welcome.

I'll note that your probe is operating at 10KHz.  Actual real radio
hardware will be unlikely to be able to
   re-tune at that rate, should you "graduate" to real hardware.



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

2024-05-03 Thread Huang Wei
I am actually trying to input this sweeping signal to a USRP sink (X310 +
UBX 160) to let it sweep around its central frequency (e.g., 200 MHz +/- 5
MHz). Do you have any suggestions for this configuration?

Thank you!
Wei

On Fri, 3 May 2024 at 14:27, Marcus D. Leech 
wrote:

> On 03/05/2024 09:24, Huang Wei wrote:
> > Hi Adrian and Marcus,
> >
> > That solved the problem : )
> > Thank you very much for your help!
> >
> > Kind regards,
> > Wei
> You're welcome.
>
> I'll note that your probe is operating at 10KHz.  Actual real radio
> hardware will be unlikely to be able to
>re-tune at that rate, should you "graduate" to real hardware.
>


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

2024-05-03 Thread Marcus D. Leech

On 03/05/2024 09:24, Huang Wei wrote:

Hi Adrian and Marcus,

That solved the problem : )
Thank you very much for your help!

Kind regards,
Wei

You're welcome.

I'll note that your probe is operating at 10KHz.  Actual real radio 
hardware will be unlikely to be able to

  re-tune at that rate, should you "graduate" to real hardware.



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

2024-05-03 Thread Marcus D. Leech

On 03/05/2024 07:31, Adrian Winter wrote:


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


Each independent sub-graph needs its own pacing mechanism.  Remember 
that Gnu Radio has no  *inherent* understanding
  of sample-rates.  They are usually an "artifice" added at the edges 
by hardware.  A throttle block provides that service

  when there's no hardware involved...

Period doesn't match for frequency sweeping using probe

2024-05-03 Thread Huang Wei
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


[image: Screenshot.png]