xmikos / qspectrumanalyzer

Spectrum analyzer for multiple SDR platforms (PyQtGraph based GUI for soapy_power, hackrf_sweep, rtl_power, rx_power and other backends)
GNU General Public License v3.0
1.21k stars 246 forks source link

Problem with RSPdx in Windows #98

Open juriguen opened 2 years ago

juriguen commented 2 years ago

Hi!

After some time trying to make the app work, I am facing an issue with communication with the API. I get an error when activateStream() is called, and the following

Traceback (most recent call last):
  File "C:\Users\344046\AppData\Local\Programs\Python\Python39\Scripts\soapy_power-script.py", line 33, in <module>
    sys.exit(load_entry_point('soapy-power==1.6.1', 'console_scripts', 'soapy_power')())
  File "C:\Users\344046\AppData\Local\Programs\Python\Python39\lib\site-packages\soapypower\__main__.py", line 366, in main
    sdr.sweep(
  File "C:\Users\344046\AppData\Local\Programs\Python\Python39\lib\site-packages\soapypower\power.py", line 296, in sweep
    psd_future, acq_time_start, acq_time_stop = self.psd(freq)
  File "C:\Users\344046\AppData\Local\Programs\Python\Python39\lib\site-packages\soapypower\power.py", line 256, in psd
    self.device.read_stream_into_buffer(self._buffer)
  File "C:\Users\344046\AppData\Local\Programs\Python\Python39\lib\site-packages\simplesoapy.py", line 483, in read_stream_into_buffer
    raise RuntimeError('Unhandled readStream() error: {} ({})'.format(
RuntimeError: Unhandled readStream() error: -1 (TIMEOUT)

Do you know if it might be due to the latest API not being compatible or it might be something else?

Thanks!