discuss-gnuradio
[Top][All Lists]
Advanced

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

Problem changing LO with qt-gui range on Pluto SDR


From: Chris Gorman
Subject: Problem changing LO with qt-gui range on Pluto SDR
Date: Thu, 27 May 2021 16:10:30 -0400

Hello All,

I am having difficulty using a qt-gui range with my plutosdr to change
the LO frequency.  I am using the feature/gr-iio branch,
v3.10.0.0git-297-gb13303bd.  When I run my python file and try to
change the LO frequency with a qt-gui range, I get the following
error.

[chris@descartes gnuradio]$ ./pluto_radio.py
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/gnuradio/qtgui/range.py",
line 186, in changed
    self.notifyChanged(self.rangeType(val))
  File "/usr/local/lib/python3.9/site-packages/gnuradio/qtgui/range.py",
line 285, in sliderChanged
    self.notifyChanged(self.rangeType(value))
  File "/home/chris/src/gnuradio/./pluto_radio.py", line 233, in set_f
   self.iio_pluto_source_0.set_params(int(self.f*1e6), self.samp_rate,
20000000, 32768, True, True, True, 'slow_attack', 64, 'Design', '',
self.samp_rate/4, self.samp_rate/3)
TypeError: set_params(): incompatible function arguments. The
following argument types are supported:
    1. (self: gnuradio.iio.iio_python.pluto_source, longfrequency:
int, samplerate: int, bandwidth: int, quadrature: bool, rfdc: bool,
bbdc: bool, gain: str, gain_value: float, filter_source: str = '',
filter_filename: str = '', Fpass: float = 0.0, Fstop: float = 0.0) ->
None

Invoked with: <gnuradio.iio.iio_python.pluto_source object at
0x7f7c4a0095b0>, 102400000, 1536000, 20000000, 32768, True, True,
True, 'slow_attack', 64, 'Design', '', 384000.0, 512000.0
Aborted (core dumped)

The python file is generated from the attached pluto_radio.grc file.

Should I create a ticket for this?

Thanks in advance,

Chris

Attachment: pluto_radio.grc
Description: application/gnuradio-grc


reply via email to

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