Recently upon boot and executing the following, our CN0566 is showing the following error at the RaspPi terminal console, see screen capture:
analog@phaser:~/pyadi-iio/examples/phaser $ python phaser_find_hb100.py
Attempting to connect to CN0566 via ip:localhost...
Found CN0566. Connecting to PlutoSDR via default IP address...
PlutoSDR connected.
Traceback (most recent call last):
File "/home/analog/pyadi-iio/examples/phaser/phaser_find_hb100.py", line 98, in <module>
my_sdr.gain_control_mode_chan1 = "manual"
File "/usr/local/lib/python3.9/dist-packages/adi/ad936x.py", line 223, in gain_control_mode_chan1
self._set_iio_attr("voltage1", "gain_control_mode", False, value)
File "/usr/local/lib/python3.9/dist-packages/adi/attribute.py", line 71, in _set_iio_attr
raise ex
File "/usr/local/lib/python3.9/dist-packages/adi/attribute.py", line 69, in _set_iio_attr
channel.attrs[attr_name].value = str(value)
AttributeError: 'NoneType' object has no attribute 'attrs'
Any ideas what's going on? and how to fix? This also occurs when using MATLAB via libiio, see screen capture.