当尝试在GNU Radio Companion中运行流程图时,我得到以下错误:AttributeError: module 'iio' has no attribute 'pluto_source'
我在Windows上为Ubuntu20.04运行一个新的VMWare环境。
我首先为冥王星安装了驱动程序和libiio库,并且能够通过:ssh root@192.168.21进行SSH。然而,当我在终端中运行iio_info -s时,我得到了以下与我有关的输出。
Library version: 0.21 (git tag: 9d79757)
Compiled with backends: local xml ip usb
Unable to create Local IIO context : No such file or directory (2)
Available contexts:
0: 0456:b673 (Analog Devices Inc. PlutoSDR (ADALM-PLUTO)), serial=1044739659930006f4ff24003edc27135f [usb:1.10.5]
1: 192.168.2.1 (Analog Devices PlutoSDR Rev.B (Z7010-AD9364)), serial=1044739659930006f4ff24003edc27135f [ip:pluto.local]运行iio_info -u ip:192.168.2.1时,我得到了一些错误,这可能与上面的情况有关。
Library version: 0.21 (git tag: 9d79757)
Compiled with backends: local xml ip usb
IIO context created with network backend.
Backend version: 0.21 (git tag: v0.21 )
Backend description string: 192.168.2.1 Linux (none) 4.19.0-119999-g6edc6cd #319 SMP PREEMPT Mon Jul 6 15:45:01 CEST 2020 armv7l
IIO context has 9 attributes:
hw_model: Analog Devices PlutoSDR Rev.B (Z7010-AD9364)
hw_model_variant: 0
hw_serial: 1044739659930006f4ff24003edc27135f
fw_version: v0.32
ad9361-phy,xo_correction: 39999954
ad9361-phy,model: ad9364
local,kernel: 4.19.0-119999-g6edc6cd
uri: ip:192.168.2.1
ip,ip-addr: 192.168.2.1
...
...
attr 10: multichip_sync ERROR: Permission denied (13)
attr 11: rssi_gain_step_error value: lna_error: 0 0 0 0
mixer_error: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
...
...
debug attr 180: adi,frequency-division-duplex-mode-enable value: 1
debug attr 181: direct_reg_access value: 0x0
No trigger on this device
iio:device2: xadc
10 channels found:
voltage5: vccoddr (input)
...
...
2 debug attributes found:
debug attr 0: pseudorandom_err_check value: CH0 : PN9 : Out of Sync : PN Error
CH1 : PN9 : Out of Sync : PN Error
debug attr 1: direct_reg_access value: 0x0
No trigger on this device我不确定错误是什么,所以我用最新的固件重新刷新了PlutoSDR,然后重试。仍然是同样的错误。
你知道这是从哪里来的吗?
发布于 2021-04-03 21:28:29
我在GNU Radio Companion 3.8 (GRC)和Adalm Pluto上也遇到过类似的问题。根本原因是GRC需要一个“量身定制”的iio包,这与您通过"pip install pylibiio“安装的包不同。我可以提出以下建议:
https://stackoverflow.com/questions/66378117
复制相似问题