usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

USRPN210 frequency changing through serial port data

MA
Muhammad Anas
Thu, Feb 20, 2025 4:12 PM

Dear Community,

I want to control the channel frequency in the RF options in the USRP sink
block on GNU Radio Companion from the float data coming from serial port
through a custom python block and the data coming is showing in the GRC
environment in bar sink as float values and I am trying to save these float
values in the variable 'frequency' by using another python block, and when
I write the same variable 'frequency' in place of USRP channel frequency
option, it's not recognizing this variable.

Is there any way to control the USRP channel frequency through the data
coming from serial port in real time. Kindly help me in this regard.

Best regards
Muhammad Anas

Dear Community, I want to control the channel frequency in the RF options in the USRP sink block on GNU Radio Companion from the float data coming from serial port through a custom python block and the data coming is showing in the GRC environment in bar sink as float values and I am trying to save these float values in the variable 'frequency' by using another python block, and when I write the same variable 'frequency' in place of USRP channel frequency option, it's not recognizing this variable. Is there any way to control the USRP channel frequency through the data coming from serial port in real time. Kindly help me in this regard. Best regards Muhammad Anas
MD
Marcus D. Leech
Thu, Feb 20, 2025 4:25 PM

On 20/02/2025 11:12, Muhammad Anas wrote:

Dear Community,

I want to control the channel frequency in the RF options in the USRP
sink block on GNU Radio Companion from the float data coming from
serial port through a custom python block and the data coming is
showing in the GRC environment in bar sink as float values and I am
trying to save these float values in the variable 'frequency' by using
another python block, and when I write the same variable 'frequency'
in place of USRP channel frequency option, it's not recognizing this
variable.

Is there any way to control the USRP channel frequency through the
data coming from serial port in real time. Kindly help me in this regard.

Best regards
Muhammad Anas

This is decidedly a GNU Radio Programming Question, and not a question
for this list.  I suggest you try the
  discuss-gnuradio mailing list.

On 20/02/2025 11:12, Muhammad Anas wrote: > Dear Community, > > I want to control the channel frequency in the RF options in the USRP > sink block on GNU Radio Companion from the float data coming from > serial port through a custom python block and the data coming is > showing in the GRC environment in bar sink as float values and I am > trying to save these float values in the variable 'frequency' by using > another python block, and when I write the same variable 'frequency' > in place of USRP channel frequency option, it's not recognizing this > variable. > > Is there any way to control the USRP channel frequency through the > data coming from serial port in real time. Kindly help me in this regard. > > Best regards > Muhammad Anas This is decidedly a *GNU Radio Programming Question*, and not a question for this list.  I suggest you try the   discuss-gnuradio mailing list.