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.