[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EXTERNAL] Re: Changing the frequency of signal source at runtime

From: Jeff Long
Subject: Re: [EXTERNAL] Re: Changing the frequency of signal source at runtime
Date: Wed, 14 Jul 2021 13:47:26 -0400

With a recent GNU Radio 3.9, SoapySDR is supported, and there is a soapy sdrplay driver. This requires the sdrplay v3 API and service to be installed.

On Wed, Jul 14, 2021 at 1:16 PM Pratik Bhogale <pbhogale@uncc.edu> wrote:

I am using GNURadio 3.7 on my Raspberry Pi. I also wish to use 3.9 on my Jetson Nano, but WX GUIs have been discontinued from 3.8 and later.
I am attaching my python file, although I haven’t added anything to it since whatever I tried, didn’t work.

tb = top_block_cls()



This is the main(), and I tried adding lock and timers but didn’t work, so I have attached the unedited python file.
I want to change the frequency after every 5 seconds (might change later), for which I need help.
Could you help me with the right commands/functions to invoke?




From: Glen Langston
Sent: 14 July 2021 13:04
To: Pratik Bhogale
Cc: discuss-gnuradio@gnu.org
Subject: [EXTERNAL] Re: Changing the frequency of signal source at runtime


[Caution: Email from External Sender. Do not click or open links or attachments unless you know this sender.]




Maybe you could share your .grc or python file.


I’ve had pretty good luck with gnuradio 3.7.13 and SDRPlay RSP1A,

where changing the frequency works fine.  


I’ve not gotten SDRPlay RSP1A to work with gnuradio 3.8, as they’re

not interested in following gnuradio changes any longer.


What gnuradio version are you using?






> On Jul 14, 2021, at 11:59 AM, Pratik Bhogale <pbhogale@uncc.edu> wrote:


> Hi team,

> I hope you are well.

> I need help with changing the tuned frequency of the source RSP1A, after a certain amount of time.

> I have tried multiple potential solutions that I found online through mailing lists and FAQs and other solutions fr reconfiguring the flowgraph using lock and unlock, wait and time.sleep(), etc. and then invoking the set_rsp1a_freq_mhz().

> I have not been able to get any result from any of those solutions.

> I need my flowgraph to execute for a certain amount of time at a particular frequency for the RSP1A, then I want to change the frequency and rerun the flowgraph for some time, change the frequency again, so on and so forth.

> Kindly help in figuring this out.


> Best regards

> Pratik Bhogale.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]