Post Go back to editing

PLUTO SDR TypeError: 'Context' object is not callable

RX LO 2000000000
Traceback (most recent call last):
  File "pluto.py", line 66, in <module>
    sdr.tx(iq)
  File "/usr/local/lib/python3.8/dist-packages/pyadi_iio-0.0.9-py3.8.egg/adi/rx_tx.py", line 396, in tx
  File "/usr/local/lib/python3.8/dist-packages/pyadi_iio-0.0.9-py3.8.egg/adi/rx_tx.py", line 331, in _tx_init_channels
  File "/usr/local/lib/python3.8/dist-packages/iio.py", line 1013, in __init__
    self._ctx = device.ctx()
TypeError: 'Context' object is not callable

Using Python3 on Ubuntu 20 LTS

Parents Reply Children
  • Hi,

    iio_readdev -u ip:192.168.2.1 cf-ad9361-lpc -s 1024 > d.dat
    ERROR: Open unlocked: -16
    Unable to allocate buffer: Device or resource busy (16)

  • ssh root@192.168.2.1
    The authenticity of host '192.168.2.1 (192.168.2.1)' can't be established.
    ECDSA key fingerprint is SHA256:OxqSaO9GsDbBiWRHlLi3/DOqpb6A8YreUViW8WnKfnk.
    Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
    Warning: Permanently added '192.168.2.1' (ECDSA) to the list of known hosts.
    root@192.168.2.1's password:
    Welcome to:
    ______ _       _        _________________
    | ___ \ |     | |      /  ___|  _  \ ___ \
    | |_/ / |_   _| |_ ___ \ `--.| | | | |_/ /
    |  __/| | | | | __/ _ \ `--. \ | | |    /
    | |   | | |_| | || (_) /\__/ / |/ /| |\ \
    \_|   |_|\__,_|\__\___/\____/|___/ \_| \_|

    v0.30-27-gd5bb-dirty
    wiki.analog.com/.../pluto

    PlutoWeb v3.0

    http://pluto.local/

    Run settings.sh to see available options.

    Dual-core enabled
    70-6000Mhz range enabled

    Auto-reboot disabled
    Auto-updates disabled

  • This is not related to pyadi. Can you re-plugin Pluto and/or reboot your machine?

    -Travis