Commit Graph

93 Commits

Author SHA1 Message Date
Michal Krenek (Mikos)
9d21d49157 Always open console on Windows (but hide it)
Otherwise program crashes when trying to communicate with subprocess
(e.g. soapy_power) if started in pythonw.exe, bacause console is missing.
2017-03-30 14:27:33 +02:00
Michal Krenek (Mikos)
e9391aedc0 Split help command executable in settings 2017-03-28 15:52:49 +02:00
Michal Krenek (Mikos)
05f4a59b66 Hide console window for subprocesses on Windows 2017-03-28 12:26:45 +02:00
Michal Krenek (Mikos)
fa462f885d Make help commands in settings compatible with Python 3.4 2017-03-28 10:44:03 +02:00
Michal Krenek (Mikos)
9ee6f631dc Fix shortcut in MSI installer 2017-03-28 00:36:32 +02:00
Michal Krenek (Mikos)
9271e42766 Switch from cx_Freeze to PyInstaller / subzero for building frozen Windows executables 2017-03-28 00:32:11 +02:00
Michal Krenek (Mikos)
e75f9a98d9 Merge pull request #28 from michaellass/hackrf_ratelimit
hackrf_sweep: Improve low frequency range capabilities
2017-03-24 22:58:56 +01:00
Michael Lass
5985cb4bfe hackrf_sweep: fix race condition when stopping
When stopping, the process may die right before we try to read from its stdout,
generating the following error:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/qspectrumanalyzer/backends/hackrf_sweep.py", line 146, in run
    buf = self.process.stdout.read(4)
AttributeError: 'NoneType' object has no attribute 'stdout'

Catch the error instead of crashing.
2017-03-24 21:57:52 +01:00
Michael Lass
bc3319ba82 hackrf_sweep: Reduce bin_size_min to 3 kHz
Using rate limiting, smaller bin sizes than 40 kHz can be used. This is useful
when using the hackrf_sweep backend with narrow frequency ranges.
2017-03-24 21:38:52 +01:00
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)
87585c106b Fix numbering in README.rst 2017-03-24 02:50:03 +01:00
Michal Krenek (Mikos)
02859deccf Add Windows installation instructions to README.rst 2017-03-24 02:48:21 +01:00
Michal Krenek (Mikos)
2385c228c6 Fix README.rst 2017-03-24 01:33:05 +01:00
Michal Krenek (Mikos)
11979ba641 Update README.rst, clarify backends section 2017-03-24 01:22:03 +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)
ea969b89e2 Add missing Qt.py dependency to PKGBUILD 2017-03-17 20:23:45 +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)
58ea054d70 Merge pull request #20 from xmikos/pyqt5
Switch from PyQt4 to Qt.py wrapper (supports PyQt4 / PyQt5 / PySide / PySide2)
2017-03-13 22:53:30 +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)
dc27e90653 Update README.rst 2017-02-19 11:37:30 +01:00
Michal Krenek (Mikos)
e7b998f69d Fix typo in last commit (need some sleep) 2017-02-19 00:52:05 +01:00
Michal Krenek (Mikos)
98a8b6bd1d Fix setup.py (missing qspectrumanalyzer.backends package) 2017-02-19 00:38:47 +01:00
Michal Krenek (Mikos)
e9264886e8 Separate backends into independent files 2017-02-14 23:01:15 +01:00
Michal Krenek (Mikos)
d351a858da Merge pull request #11 from miek/hackrf_sweep_fix
Fix old references to device_index from hackrf_sweep merge
2017-02-14 15:57:02 +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)
7fa0985133 Merge pull request #10 from xmikos/hackrf_sweep
Merge hackrf_sweep branch into master
2017-02-14 13:54:21 +01:00
Michal Krenek (Mikos)
b38c3b3e76 Merge branch 'miek-master' into hackrf_sweep 2017-02-14 12:17:10 +01: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
Mike Walters
71b3d6a4ca Merge pull request #4 from mossmann/master
Changed labels from dBm to dB.
2017-02-12 22:38:01 +00: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
Mike Walters
aba4f40bff Merge pull request #3 from mossmann/master
hackrf_sweep gain configuration support
2017-02-12 11:51:19 +00: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