Pluto sink power issues

2022-11-16 Thread George Katsimaglis

Hello,
I have two issues about Pluto sink attenuation (Tx power) for 3.10.1.1.In 
previous versions with attenuation 0 it produces about 0 dBm output for a 
single frequency output.Now it gives about -22 dBm.Also when I try to change 
attenuation from 0 to 1 using a QT range :
File "/usr/lib/python3/dist-packages/gnuradio/qtgui/range.py", line 240, in 
changed    self.notifyChanged(self.rangeType(value))  File 
"/usr/lib/python3/dist-packages/gnuradio/qtgui/range.py", line 316, in 
counterChanged    self.notifyChanged(self.rangeType(value))  File 
"/home/sv1bds/Documents/GNURadio/PlutoIMD.py", line 125, in set_txatten    
self.iio_pluto_sink_0.set_attenuation(self.txatten)TypeError: 
set_attenuation(): incompatible function arguments. The following argument 
types are supported:    1. (self: gnuradio.iio.iio_python.fmcomms2_sink_fc32, 
chan: int, attenuation: float) -> None
Invoked with: , 1.0
is displayed and attenuation does not change
George SV1BDS


Re: Pluto sink power issues

2022-11-16 Thread Marcus Müller
It looks like your call to set_attenuation() is missing the channel argument. Now, this 
could be a bug on the GNU Radio end or your end: How did that PlutoIMD.py get created?


Best,
Marcus

On 16.11.22 12:08, George Katsimaglis wrote:


Hello,

I have two issues about Pluto sink attenuation (Tx power) for 3.10.1.1.
In previous versions with attenuation 0 it produces about 0 dBm output for a single 
frequency output.

Now it gives about -22 dBm.
Also when I try to change attenuation from 0 to 1 using a QT range :

File "/usr/lib/python3/dist-packages/gnuradio/qtgui/range.py", line 240, in 
changed
     self.notifyChanged(self.rangeType(value))
   File "/usr/lib/python3/dist-packages/gnuradio/qtgui/range.py", line 316, in 
counterChanged
     self.notifyChanged(self.rangeType(value))
   File "/home/sv1bds/Documents/GNURadio/PlutoIMD.py", line 125, in set_txatten
     self.iio_pluto_sink_0.set_attenuation(self.txatten)
TypeError: set_attenuation(): incompatible function arguments. The following argument 
types are supported:
     1. (self: gnuradio.iio.iio_python.fmcomms2_sink_fc32, chan: int, attenuation: float) 
-> None


Invoked with: , 1.0

is displayed and attenuation does not change

George SV1BDS



smime.p7s
Description: S/MIME Cryptographic Signature


Σχετ: Re: Pluto sink power issues

2022-11-16 Thread George Katsimaglis
Hello,
Via desktop environment, not by hand.
Best regards 

Στάλθηκε από το Ταχυδρομείο Yahoo σε Android 
 
  Στις Τετ, 16 Νοε, 2022 στις 14:59, ο χρήστηςMarcus Müller 
έγραψε:   It looks like your call to set_attenuation() is missing the channel 
argument. Now, this 
could be a bug on the GNU Radio end or your end: How did that PlutoIMD.py get 
created?

Best,
Marcus

On 16.11.22 12:08, George Katsimaglis wrote:
> 
> Hello,
> 
> I have two issues about Pluto sink attenuation (Tx power) for 3.10.1.1.
> In previous versions with attenuation 0 it produces about 0 dBm output for a 
> single 
> frequency output.
> Now it gives about -22 dBm.
> Also when I try to change attenuation from 0 to 1 using a QT range :
> 
> File "/usr/lib/python3/dist-packages/gnuradio/qtgui/range.py", line 240, in 
> changed
>      self.notifyChanged(self.rangeType(value))
>    File "/usr/lib/python3/dist-packages/gnuradio/qtgui/range.py", line 316, 
>in counterChanged
>      self.notifyChanged(self.rangeType(value))
>    File "/home/sv1bds/Documents/GNURadio/PlutoIMD.py", line 125, in 
>set_txatten
>      self.iio_pluto_sink_0.set_attenuation(self.txatten)
> TypeError: set_attenuation(): incompatible function arguments. The following 
> argument 
> types are supported:
>      1. (self: gnuradio.iio.iio_python.fmcomms2_sink_fc32, chan: int, 
>attenuation: float) 
> -> None
> 
> Invoked with:  0x7f93d09f29f0>, 1.0
> 
> is displayed and attenuation does not change
> 
> George SV1BDS
>