Post Go back to editing
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ad9081_tdd_example.py code run error

Category: Software

Hello,

I am testing the ad9081_tdd_example code: https://github.com/analogdevicesinc/pyadi-iio/blob/a5eb253aa30678fead58dae7df06b9a7dce3c1be/examples/ad9081_tdd_example.py#L14

My hardware setup is ZCU102 + AD9081 Evaluation board. I run the above code on the VMware Ubuntu 20.04. 

But there are some errors:

pci@pci-virtual-machine:~/Documents$ /bin/python3 /home/pci/Documents/ad9081.py
Traceback (most recent call last):
  File "/home/pci/Documents/ad9081.py", line 72, in <module>
    rx_sig = trx.rx()
  File "/home/pci/.local/lib/python3.8/site-packages/adi/rx_tx.py", line 293, in rx
    data = self.__rx_complex()
  File "/home/pci/.local/lib/python3.8/site-packages/adi/rx_tx.py", line 258, in __rx_complex
    x = self.__rx_buffered_data()
  File "/home/pci/.local/lib/python3.8/site-packages/adi/rx_tx.py", line 235, in __rx_buffered_data
    self.__rxbuf.refill()
  File "/home/pci/.local/lib/python3.8/site-packages/iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
  File "/home/pci/.local/lib/python3.8/site-packages/iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
TimeoutError: [Errno 110] Connection timed out

Could you give me some advice? Thanks!

Best,

Dongyu




[locked by: travisfcollins at 8:07 PM (GMT -5) on 16 Feb 2024]

Thread Notes