Post Go back to editing

Problem with CFAR_RADAR_Waterfall_ChirpSync.py program.

Category: Hardware
Product Number: EVAL-CN0566-RPIZ

I have encountered a problem running the CFAR_RADAR_Waterfall_ChirpSync.py program, and I have been unable to locate the source of the problem.  Here is what I see on the Terminal screen when running the program in RealVNC Viewer:

analog@phaser:~/pyadi-iio/examples/Jon_Kraft_Github_Files/PhaserRadarLabs-main/PhaserRadarLabs-main $ python CFAR_RADAR_Waterfall_ChirpSync.py
0.0.19
requested freq dev time = 500
actual freq dev time = 500
fft_size = 4096
Total Time for all Chirps: 1.5 ms
buffer_size: 8192
buffer_time: 4.096002048001024 ms

CONFIG:
Sample rate: 1.999999MHz
Num samples: 2^13
Bandwidth: 500.0MHz
Ramp time: 0.5ms
Output frequency: 10000.0MHz
IF: 100.0kHz

Traceback (most recent call last):
File "/home/analog/pyadi-iio/examples/Jon_Kraft_Github_Files/PhaserRadarLabs-main/PhaserRadarLabs-main/CFAR_RADAR_Waterfall_ChirpSync.py", line 566, in update
data = my_sdr.rx()
File "/usr/local/lib/python3.9/dist-packages/adi/rx_tx.py", line 275, in rx
data = self.__rx_complex()
File "/usr/local/lib/python3.9/dist-packages/adi/rx_tx.py", line 240, in __rx_complex
x = self._rx_buffered_data()
File "/usr/local/lib/python3.9/dist-packages/adi/compat.py", line 149, in _rx_buffered_data
self._rxbuf.refill()
File "/usr/local/lib/python3.9/dist-packages/iio.py", line 1003, in refill
_buffer_refill(self._buffer)
File "/usr/local/lib/python3.9/dist-packages/iio.py", line 62, in _check_negative
raise OSError(-result, _strerror(-result))
TimeoutError: [Errno 110] Connection timed out
Program finished and Pluto Tx Buffer Cleared

Can anyone tell me what is preventing this program from running, and how to fix the problem so the code will run?

Thanks in advance for your assistance with deciphering this Python problem.

Parents
  • Yes, that error is because you don't have the 3" gray ribbon cable connected from Pluto to Phaser.  See this post:

     Problem with Range_Doppler_Plot.py program. 

  • The gray cable is attached, but TimeoutError: [Errno 110] Connection timed out are being introduced, so something seems to not be working correctly for CFAR_RADAR_Waterfall_ChirpSync.py.  What can be causing this problem?

  • Here are the error messages I am receiving today when running CFAR_RADAR_Waterfall_ChirpSync.py:

    D:\Phaser Python Programs>python CFAR_RADAR_Waterfall_ChirpSync.py
    0.0.18
    requested freq dev time = 500
    actual freq dev time = 500
    fft_size = 4096
    Total Time for all Chirps: 1.5 ms
    buffer_size: 8192
    buffer_time: 4.096002048001024 ms

    CONFIG:
    Sample rate: 1.999999MHz
    Num samples: 2^13
    Bandwidth: 500.0MHz
    Ramp time: 0.5ms
    Output frequency: 10000.0MHz
    IF: 100.0kHz

    Traceback (most recent call last):
    File "D:\Phaser Python Programs\CFAR_RADAR_Waterfall_ChirpSync.py", line 566, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\CFAR_RADAR_Waterfall_ChirpSync.py", line 566, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\CFAR_RADAR_Waterfall_ChirpSync.py", line 566, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\CFAR_RADAR_Waterfall_ChirpSync.py", line 566, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\CFAR_RADAR_Waterfall_ChirpSync.py", line 566, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\CFAR_RADAR_Waterfall_ChirpSync.py", line 566, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Program finished and Pluto Tx Buffer Cleared

  • Here is the Terminal script for the ERRORs encountered when running FMCW_RADAR_Waterfall_ChirpSync.py:

    D:\Phaser Python Programs>python FMCW_RADAR_Waterfall_ChirpSync.py
    0.0.18
    requested freq dev time = 500
    actual freq dev time = 500
    fft_size = 8192
    Total Time for all Chirps: 1.5 ms
    buffer_size: 8192
    buffer_time: 1.6383999999999999 ms

    CONFIG:
    Sample rate: 5.0MHz
    Num samples: 2^13
    Bandwidth: 500.0MHz
    Ramp time: 0.5ms
    Output frequency: 10000.0MHz
    IF: 100.0kHz

    Traceback (most recent call last):
    File "D:\Phaser Python Programs\FMCW_RADAR_Waterfall_ChirpSync.py", line 504, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\FMCW_RADAR_Waterfall_ChirpSync.py", line 504, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\FMCW_RADAR_Waterfall_ChirpSync.py", line 504, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\FMCW_RADAR_Waterfall_ChirpSync.py", line 504, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\FMCW_RADAR_Waterfall_ChirpSync.py", line 504, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\FMCW_RADAR_Waterfall_ChirpSync.py", line 504, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\FMCW_RADAR_Waterfall_ChirpSync.py", line 504, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\FMCW_RADAR_Waterfall_ChirpSync.py", line 504, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\FMCW_RADAR_Waterfall_ChirpSync.py", line 504, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\FMCW_RADAR_Waterfall_ChirpSync.py", line 504, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Traceback (most recent call last):
    File "D:\Phaser Python Programs\FMCW_RADAR_Waterfall_ChirpSync.py", line 504, in update
    data = my_sdr.rx()
    ^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 275, in rx
    data = self.__rx_complex()
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\rx_tx.py", line 240, in __rx_complex
    x = self._rx_buffered_data()
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\adi\compat.py", line 149, in _rx_buffered_data
    self._rxbuf.refill()
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 1003, in refill
    _buffer_refill(self._buffer)
    File "C:\Users\scott\AppData\Local\Programs\Python\Python312\Lib\site-packages\iio.py", line 62, in _check_negative
    raise OSError(-result, _strerror(-result))
    OSError: [Errno 110] host unreachable
    Program finished and Pluto Tx Buffer Cleared
    Program finished and Pluto Tx Buffer Cleared
    Program finished and Pluto Tx Buffer Cleared

  • Yes, I think you've hooked something up wrong, most likely something with the ribbon cable.  So you may need to do a little debug.  Send some photos of your setup and I'll see if there's anything I see wrong.  But I would start by verifying that you have closely, and exactly, followed all of the setup procedures on the Phaser quick start page.  Watch the video closely, and make sure you have everything the same.  

    https://wiki.analog.com/resources/eval/user-guides/circuits-from-the-lab/cn0566/quickstart

    Watch that video, in its entirety. And carefully follow each of the steps. Don’t skip any steps. Run the example code that the wiki guide lists, and make sure all of that works.

    Next, find which programs work and which do not.  Do some of the example scripts work?  And then what is the difference between the ones that work and those that do not.  It will help you to identify the issue and then perhaps you will see what you've not connected or didn't install, etc.  

    Radar always requires careful attention to setup.  And it make time some time, and good debug methodology, to diagnose what you're missing.  I also recommend doing some getting started classes in Python.  These will help you with library installs and debugging within Python.  There's several good ones available for free on youtube.  

  • Here are the photos you requested:

    Let me know if anything is connected incorrectly, but everything was configured per the online instructions and videos.

    I have worked through the Setup Video several times, and did not find any mistakes.

  • Here is some additional information on my setup:










    The antenna is performing identically to the information provided in the videos.  Any ideas for debugging over the weekend would be appreciated.

  • I think you've connected the flat cable the wrong way around; try plugging it in with the red cable facing the antenna array, and that should fix your problem.

  • OK, I rotated the ribbon cable 180 degrees, but that concerns me since the cable is now pressed against the Pluto PCB.  I suspect this will but through the insulation over time, and cause a failure.  There are not any markings on the PCB to indicate where the RED line on the ribbon cable should be located.

    I connected the OUT 1 SMA Port to a spectrum analyzer earlier today, and the Phaser does not appear to be generating a signal in the 10 GHz to 10.5 GHz bandwidth.  I can clearly see the HB100 spectrum at 10.415 GHz, but the Phaser is not producing a signal.  What can I do to debug this situation, or should the Phaser be returned to AD to debug this problem?

  • You must be careful with the channel you activate to transmit the signal; I recommend verifying that the antenna is connected to the correct channel, as indicated in the code. It is also worth mentioning that the 8-element array visible on the phaser is designed for signal reception rather than transmission, since the device that transmits is the antenna connected to the out1 or out2 channels.

    It is true that the flat cable fits quite tightly, but for now there is no other way to connect it. To avoid damaging the device, what I did was to bend the flat cable further, as it would be the cheapest option to repair in case something gets damaged.

    Let me show you my configuration!

  • No, the cable orientation as you had it should be ok.  But just to be clear, are you saying that all of the Analog Devices examples work, without problem?  So all of these work for you:  https://github.com/analogdevicesinc/pyadi-iio/tree/master/examples/phaser

    It’s just my personal Python scripts, from my own github page, that you’re having trouble with?  The ones found here:  https://github.com/jonkraft/PhaserRadarLabs

  • I spent time last Friday searching for information on EngineerZone regarding no signal from the Phaser transmit port.  A few others had this problem, and they were told to disassemble the system, and ensure that the snap on I-PEX connectors were properly seated.  Everything started working after this was completed, so something must have been loose.  All of your Python codes work now!

Reply
  • I spent time last Friday searching for information on EngineerZone regarding no signal from the Phaser transmit port.  A few others had this problem, and they were told to disassemble the system, and ensure that the snap on I-PEX connectors were properly seated.  Everything started working after this was completed, so something must have been loose.  All of your Python codes work now!

Children
No Data