Commit Graph

54 Commits

Author SHA1 Message Date
Michael Lass
a49f1a3187 hackrf_sweep: Implement rate limiting by ignoring sweeps
For low frequency ranges the sweep range of hackrf_sweep is pretty high.
To allow using the hackrf_sweep backend with those small ranges, we can
simply ignore sweeps based on a user-set sweep interval.
2017-03-24 21:37:31 +01:00
Michal Krenek (Mikos)
12da1d6626 Merge pull request #22 from michaellass/check_bincount
Check bincount in data coming from backend
2017-03-24 21:02:10 +01:00
Michael Lass
9dc1433bdf Check bincount in data coming from backend
The backend may return fewer data points than expected. This can e.g. be
observed for the hackrf_sweep backend on high system load. Currently
this leads to an error when trying to insert the data into the
HistoryBuffer and causes the application to crash:

ValueError: cannot copy sequence with size 24750 to array axis with dimension 25000

As a workaround, just ignore data in this case.
2017-03-24 17:50:03 +01:00
Michal Krenek (Mikos)
8109c537f6 Allow setting gain with more precision; tune default parameters of backends 2017-03-24 16:51:32 +01:00
Michal Krenek (Mikos)
9135dc58e4 Make soapy_power dependency optional (but don't remove it from setup.py and PKGBUILD, because it is default backend) 2017-03-24 00:15:56 +01:00
Michal Krenek (Mikos)
92e1771db5 Add support for creating frozen executables with cx_Freeze; use new setup_qt module for building Qt UI files 2017-03-23 18:11:05 +01:00
Michal Krenek (Mikos)
8ac3346c1e Fix some GUI issues on Windows 2017-03-22 02:16:26 +01:00
Michal Krenek (Mikos)
7e84cd7a1c Fix another Windows peculiarity. How can anyone sane use that fscking OS?!? 2017-03-21 23:39:30 +01:00
Michal Krenek (Mikos)
5d41c6c4a8 Update version to 2.1.0 2017-03-21 17:43:39 +01:00
Michal Krenek (Mikos)
07d504ab30 Don't show number of hops in status bar if it isn't available 2017-03-21 16:59:48 +01:00
Michal Krenek (Mikos)
d8d158c100 Make QSpectrumAnalyzer compatible with latest soapy_power 1.5.0 2017-03-21 16:39:26 +01:00
Michal Krenek (Mikos)
c574761a8c Allow setting bandwidth and LNB LO (for upconverters or downconverters); show info about device in settings 2017-03-21 10:36:08 +01:00
Michal Krenek (Mikos)
b8666417b0 Update version to 2.0.0 2017-03-17 15:03:07 +01:00
Michal Krenek (Mikos)
e0f7202ff9 Update soapy_power_bin format to include both acquisition start time and stop time 2017-03-16 16:43:12 +01:00
Michal Krenek (Mikos)
9de4c25269 Fix pipe for communication with soapy_power on Windows 2017-03-15 00:58:10 +01:00
Michal Krenek (Mikos)
50ff8d517d Allow backend executable to be multiple words (e.g. python /path/to/soapy_power.py) 2017-03-15 00:38:10 +01:00
Michal Krenek (Mikos)
228255b7e1 Switch from PyQt4 to Qt.py wrapper (supports PyQt4 / PyQt5 / PySide / PySide2) 2017-03-13 22:50:54 +01:00
Michal Krenek (Mikos)
d1c6ca4d14 Use pipe for communication with soapy_power process, to avoid reading garbage from stdout (some SoapySDR drivers like LimeSDR always outputs something to stdout) 2017-03-13 17:41:22 +01:00
Michal Krenek (Mikos)
47ea0b99b5 New version 1.5.0 (soapy_sdr backend now fully functioning) 2017-03-10 17:39:04 +01:00
Michal Krenek (Mikos)
e9264886e8 Separate backends into independent files 2017-02-14 23:01:15 +01:00
Mike Walters
e73e921440 Fix old references to device_index from hackrf_sweep merge 2017-02-14 13:40:23 +00:00
Michal Krenek (Mikos)
b49c772961 Merge hackrf_sweep fork and fix conflicts 2017-02-14 12:14:52 +01:00
Michal Krenek (Mikos)
2ffa466b58 Add preliminary support for soapy_power and rx_power 2017-02-13 22:00:10 +01:00
Michael Ossmann
70b9219927 Changed labels from dBm to dB.
hackrf_sweep outputs dBFS, but rtl_power outputs dB with some weird offset.
In no case would dBm be correct without a calibration option.
The relative "dB" label should be acceptable for all cases.
2017-02-12 15:03:05 -07:00
Michael Ossmann
ba3e113e29 set sample rate when backend is selected 2017-02-11 23:05:08 -07:00
Michael Ossmann
3cc202de89 set backend-specific min/max/default values when backend is selected 2017-02-11 22:24:44 -07:00
Michael Ossmann
dc39b44c67 hackrf_sweep gain configuration support 2017-02-11 21:45:40 -07:00
Michael Ossmann
c060f82c25 fixed bug that can happen when frequency ranges are interleaved around the stop frequency 2017-02-10 22:18:46 -07:00
Michael Ossmann
76c3ad2b55 increased default and maximum bin size settings 2017-02-10 17:04:54 -07:00
Michael Ossmann
ab431554aa limit bin size configuration to acceptable bounds 2017-02-10 16:57:12 -07:00
Michael Ossmann
bb6412be69 removed bin width from hackrf_sweep output format 2017-02-10 16:38:01 -07:00
Michael Ossmann
eef73719f0 compute bin width from number of input bins 2017-02-10 16:29:47 -07:00
Michael Ossmann
71ff6cd950 cleanup 2017-02-09 19:17:24 -07:00
Michael Ossmann
adb3b53058 updated for recent changes in hackrf_sweep -B output format 2017-02-09 19:05:46 -07:00
Michael Ossmann
4e9ecdb64d updated for compatibility with new hackrf_sweep -B option 2017-02-09 08:27:53 -07:00
Mike Walters
713434d029 Let the processing thread stop the process
Fixes exception where the processing thread would try to read stdout
after the process had stopped, but before the processing thread stopped
2016-07-31 16:05:56 +01:00
Mike Walters
461e674f82 Ignore band-edge and DC bins 2016-07-30 14:55:28 +01:00
Mike Walters
2c76c5cbe3 Pass sweep freq argument 2016-07-30 14:51:34 +01:00
Mike Walters
1538f37132 Make it work 2016-07-30 10:51:29 +01:00
Mike Walters
a3ce184f5e Initial hackrf_sweep skeleton 2016-07-30 06:29:37 +01:00
Michal Krenek (Mikos)
6cf2694708 Add support for multiple RTL-SDR devices (select device index in settings) 2016-05-19 22:28:44 +02:00
Michal Krenek (Mikos)
18a033260c Updated version to 1.4.0 2016-05-17 02:39:58 +02:00
Michal Krenek (Mikos)
7112ce7888 Min. / Max. peak hold; recalculate curves from history; separate data backend; refactoring 2016-05-17 02:37:06 +02:00
Michal Krenek (Mikos)
acbca50eed Add average and spectrum persistence (RTSA fosphor-like effect); some refactoring and GUI changes 2015-12-18 21:43:40 +01:00
Michal Krenek (Mikos)
be2d3f6b62 Another refactoring 2015-12-15 02:37:47 +01:00
Michal Krenek (Mikos)
f046ba568a Code refactoring 2015-12-14 19:29:14 +01:00
Michal Krenek (Mikos)
712cb72157 Update version to 1.3.0 2015-12-14 02:24:42 +01:00
Michal Krenek (Mikos)
8096c6e3c3 Add peak hold and smoothing; fix window maximization at startup; split dock widgets 2015-12-14 02:01:23 +01:00
Michal Krenek (Mikos)
314118a7ff Add support for rtl_power_fftw backend 2015-12-07 03:36:43 +01:00
Michal Krenek (Mikos)
1f48ebf351 Updated version to 1.1.1 2015-04-26 22:18:04 +02:00