Commit Graph

297 Commits

Author SHA1 Message Date
Bill Somerville
e6150df623 Proper custom spin boxes for frequency tolerance and T/R period
These were using a hijacked custom spin box that was designed only for
letters i.e. submodes. Now there are two new custom spin boxes.

HistedSpinBox:- can  be set with  a list  of integer values  which the
step  up and  down  will  follow. Optionally  limits  the maximum  and
minimum value  to the upper and  lower bounds of the  values set. Note
that intermediate values are still valid.

RestrictedSpinBox:- more like a combo  box because the provided values
are the only ones that can be set.

HintedSpinBox   is    used   for    the   frequency    tolerance   and
RestrictedSpinBox is used for T/R period.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7698 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-05-27 20:04:44 +00:00
Bill Somerville
503e8bca2d Fix "CQ NNN ..." with Tab 2 message scheme
More  to come  on this  but should  get Tab  2 basically  working with
MSK144 running from a calling frequency.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7675 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-05-12 20:46:19 +00:00
Joe Taylor
b3775f015a Implement Tx for WSPR-LF.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7670 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-05-11 19:56:18 +00:00
Joe Taylor
b256185ed1 Starting to implement experimental mode "WSPR-LF". Beware possible undesired side effects!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7658 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-28 16:49:09 +00:00
Bill Somerville
8686876498 Do not use menu shortcut that hides shortcut key used in widgets
Ctrl+M (Cmd+M)  was being  used as  a menu shortcut  and in  key press
event  handlers   which  leads  to  inconsistent   behaviour  on  some
platforms. Removed menu action shortcut.

Also tidied up handling of the  hide controls menu action by making it
a checkable  action and using its  checked state to store  the control
hiding state.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7608 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-15 18:25:21 +00:00
Joe Taylor
5ff7b9ac79 Code cleanup following level meter changes. New screen shot for main-left controls.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7597 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-06 15:52:09 +00:00
Joe Taylor
0e87c974e9 Modified behavior of audio level meter and adjacent slider; Tx6 at program startup.
1. Level meter range increased to 0-90 dB.
2. Level meter reading is independent of slider setting.
3. For a trial period: thermometer bar goes red if a 16-bit sample
   is within 5 dB A/D limit.
4. Slider can be used to adjust levels sent to waterfall.
5. Tx6 message is selected on program startup.
Thanks to W9MDB for most of this code.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7596 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-06 14:34:25 +00:00
Bill Somerville
2131414791 Add reference spectrum to equalization plots and more plotting enhancements
Use  a header  format for  polynomial coefficients  that includes  the
valid  X  range  in  scaled  terms  and  a  count  of  the  number  of
coefficients.

Use double  precision consistently  for polynomial  coefficients. This
includes formatting with sufficient DPs when writing to files.

Many changes to the equalization plots, more to come.

Add  error   handling  for   reading  coefficient,  plot   and  filter
files.  This  includes  being  backward  compatible  for  old  format
refspec.dat files with no header.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7578 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-23 16:21:26 +00:00
Bill Somerville
cecc098924 First attempt at a UI phase compensation tool for MSK144
This builds on the static phase compensation in the MSK144 decoder and
the phase  analysis and  polynomial fitting  capabilities also  in teh
MSK144 decoder,  by allowing  captured data to  be selected  for phase
equalization from the WSJT-X UI.

Reads  captured phase  compensation  curve  estimate files  containing
fitted  polynomial coefficients  and measured  phase data  from MSK144
receptions. Intent  is to select a  compensation curve that is  from a
known transmitter like  an SDR which have good  phase linearity. Phase
plots and compensation polynomials may be viewed and compared with the
current compensation polynomial. A  suitable polynomial can be applied
to be use in all further decoding of MSK144 signals.

Plots of  the currently  selected polynomial  and its  modified higher
order terms  polynomial which is  actually used in  equalization (this
plot may  be dropped - it  is just for  kicks at the moment).   When a
captured phase analysis file is loaded plots of the measured phase and
the proposed best fit polynomial are shown.

Basic  maintenance  is also  included  allowing  clearing and  loading
captured  plots and  an option  to revert  to a  flat no  equalization
curve.

More to come on this as  amplitude equalization is also possible, this
will probably  be similar, maybe even  plotted on the same  graph with
dual  axes  for phase  and  amplitude.   Amplitude correction  from  a
measured  reference   spectrum  could  be  viewed   and  selected  for
equalization for all modes. TBC...

This   change    also   introduces    the   QCustomPlot    3rd   party
widget. Currently this  is statically linked from a  qcp library built
by the WSJT-X CMake script. This will probably be migrated to a shared
object (DLL) build as a CMake external project, once some CMake script
re-factoring  has been  completed,  which  is more  in  line with  the
QCustomPlot author's  intentions. This  will allow efficient  reuse in
other tools shipped with WSJT-X.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7570 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-21 02:13:13 +00:00
Steven Franke
c3d83a207a First steps to enable user control of phase calibration.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7504 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-15 21:43:40 +00:00
Bill Somerville
18a80232cc Filter general working frequencies in FreqCal mode
Allow band  drop down list to  be used to select  FreqCal frequencies,
also  resets position  in automatic  cycle. Tidy  up some  unnecessary
code.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7486 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-12 21:03:30 +00:00
Joe Taylor
247aa1a2ee Several changes to operational logic for FreqCal mode.
1. Menu item *Tools -> Execute frequency calibration cycle* is renamed and checkable.  Cycling does not start until checked.
2. Ctrl+F10 now allows you to cycle manually through the list of calibration frequencies.
3. Calibration sequence lengths can be set to 5, 10, 15, or 30 s with the sbTR spinBox.

Also: don't set sbTR index to 0 when entering a slow mode.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7485 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-12 18:21:58 +00:00
Bill Somerville
105aa045b3 Tidy up FreqCal mode time signal switching and Rx DF
Rx  DF is  now  "real-time"  adjusting the  rig  in  concert with  the
monitored DF.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7465 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-09 13:50:02 +00:00
Bill Somerville
5b62f118c6 Remove some unnecessary code
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7464 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-09 01:09:58 +00:00
Bill Somerville
ea507b6ec8 Use the settings frequency list as a source for cal frequencies
Some default time  signals have been added to the  frequency list so a
base  set   can  be   obtained  by   resetting  the   frequency  list,
alternatively they can be added ad hoc in the normal fashion.

FreqCal  mode behavior  is to  select  the lowest  cal frequency  upon
entering  FreqCal   mode  and  cycling  through   each  cal  frequency
repeatedly. Ctrl+F10 jumps directly to the next higher frequency.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7463 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-08 23:58:09 +00:00
Joe Taylor
2698fc02c6 Re Sh and SWL: allow either or neither, but not both.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7459 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-06 19:01:29 +00:00
Bill Somerville
9ea25dec8d Tidy up decode menu actions and correct defect in logic
Deepest decode  level should be selected  automatically when switching
to JT4  or JT65 when VHF  & up mode is  on and either of  averaging or
deep search are enabled.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7456 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-06 13:53:06 +00:00
Joe Taylor
6d64eaa37b More work on FreqCal mode. Some of this code is temporary!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7451 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-05 18:35:26 +00:00
Joe Taylor
dbeb21b050 Some possibly temporary ideas, playing around with a "FreqCal" mode to do simple frequency calibrations.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7446 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-03 21:37:38 +00:00
Joe Taylor
33628fd9f4 1. Starting to add SWL feature for MSK144 Sh messages.
2. Add (part of) a geometry patch from W9MDB.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7433 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-30 21:46:29 +00:00
Joe Taylor
f98aa4e6f4 Options (via Ctrl+M) to minimize size of Main Window and Wide Graph; add separate Start/End times to logging information. Thanks to W9MDB!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7430 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-30 15:45:31 +00:00
Joe Taylor
d2fb561f10 Add "Clear reference spectrum" to the File menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7426 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-24 20:05:28 +00:00
Bill Somerville
336eb0c858 Add fast mode support to UDP messages and update example apllications
Sub mode and  fast mode flag are  added to the UDP  Status message and
Status messages  after appropriate UI changes.  MSK144 decodes produce
UDP Decode messages. Fast JT9 messages are treated similarly.

Currently ISCAT decodes are not posted  as UDP Decode messages as they
do not fit well with the model.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7389 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-16 19:36:21 +00:00
Bill Somerville
bae3b94fd6 Build a cache of allowed SSL exceptions and use them on future network requests
The   class  NetworkAccessManager   sub-classes  QNetworkAccessManager
adding  a  message  box  to  ask   the  user  if  SSL  errors  may  be
ignored. Ignored errors  are ignored in future server  replies so that
the user is not asked about he same peer certificate chain repeatedly.
The cache is currently per process only and not persistent.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7361 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-04 14:17:01 +00:00
Joe Taylor
4838d97370 New parameters for AP decoding in QRA64. Do not use this revision on the air!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7340 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-11-27 15:50:47 +00:00
Bill Somerville
840163ab97 Change the "CQ nnn ..." logic to specify the calling frequency...
... rather than the working frequency.

Users set their working frequency and specify a calling frequency as a
kHz offset  into the  current Rx  MHz with the  main window  spin box.
Calling CQ on  the specified calling frequency is  enabled by checking
the associated option.

Also enhanced  the auto  sequencing to handle  short code  73 messages
correctly.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7339 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-11-27 01:34:43 +00:00
Joe Taylor
d53085b552 Correct a flaw that could cause Tx to start as a result of a decode with AutoSeq active.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7329 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-11-22 15:47:59 +00:00
Joe Taylor
80787c0721 New sync pattern for QRA64; implement fast-fading algorithm for QRA64A-C. Several things in QRA64 still need attention, in addition to submodes D and E!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7301 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-11-08 20:11:02 +00:00
Joe Taylor
026b9a3916 Correct a flaw in behavior of "Lock Tx=Rx" (Tnx to VK4EME). CR in DXCall entry ==> do "Lookup" (Tnx to W9MDB).
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7297 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-11-07 13:47:09 +00:00
Joe Taylor
cdaa64324a Add warning message if VHF features enabled on a lower band. Clean up "Decoded Lines" table in User Guide, and corresponding ISCAT end-of-line characters.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7283 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-11-03 14:05:05 +00:00
Joe Taylor
e0f80b7afc Correct a flaw in deep4 (apparently caused by gfortran optimizer?). Move
display of the "No More Files..." message until after the "Decode Finished"
message is received.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7270 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-31 14:24:02 +00:00
Bill Somerville
cfb1a3cbe2 Use Qt signals to process configuration name changes
This change maintains the encapsulation  of the MultiSettings class by
using  a  signal   to  notify  clients  of  changes   to  the  current
configuration name.

Modifications  to   the  MainWindow  class  to   display  the  current
configuration name in the status bar, if it is not "Default", based on
MultiSettings events rather than polling for changes.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7257 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-28 17:15:04 +00:00
Joe Taylor
0c0e3ec978 Add a status bar label for configuration name (if other than "Default").
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7252 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-28 14:33:00 +00:00
Joe Taylor
a0d27d23f7 Introduce a 1-second delay before starting wsprd. (There is probably a better
way to make sure that the new .wav file is ready, before starting wsprd?)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7242 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-26 19:01:46 +00:00
Joe Taylor
0441986ccc Add the W9MDB patch (very slightly modified) for band-by-band memory
of power settings for Transmit and Tune.  Also an interim update of
v1.7_Features.txt.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7229 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-25 20:24:09 +00:00
Joe Taylor
91ea5ffa08 Major refactoring of code that determines visibility of GUI controls. Please report any undesired or incorrect behavior!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7209 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-20 19:25:48 +00:00
Joe Taylor
c2d2ec8dd7 Remove vestigial references to WSPR_2. Update wsjtx.pro. Add samples for all modes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7208 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-20 15:43:03 +00:00
Joe Taylor
ec2c5b78d4 correct a flaw in "Decode remaining files in directory"; correct the widget visibility in ISCAT mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7201 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-19 18:09:27 +00:00
Joe Taylor
5da7e84f54 Correct a timing issue for saving MSK144 files in short (e.g. 5 s) sequences. Save after Alt-V even if Save = None.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7191 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-17 16:51:14 +00:00
Joe Taylor
823b018592 Trying to make position and status of the central GUI controls correct and logical for VHF and non-VHF usage.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7165 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-12 16:33:18 +00:00
Joe Taylor
672a4e88b5 MSK144 mode: minimum Ftol=20; report received copied to Log screen; spots sent to PSKreporter.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7140 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-02 23:16:47 +00:00
Joe Taylor
8dc2fef844 Back out some changes that were broken. PSK reporter not yet functional for MSK144.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7136 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-01 20:10:46 +00:00
Joe Taylor
23785f60e4 Oops! Committed wrong versions. This code is not ready for use!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7135 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-01 19:40:26 +00:00
Joe Taylor
02ef8823ef 1. Allow Ftol down to 20 Hz in MSK144 mode.
2. Do not adjust Rx Freq automatically after an MSK144 decode.
3. Insert the Rcvd report in log window.
4. Send MSK144 decodes to PSK Reporter.

NB: not all these are fully tested, yet.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7134 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-10-01 19:32:16 +00:00
Joe Taylor
cd0895c26a Add a performance monitor for real-time MSK144 decoding.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7116 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-09-29 13:29:20 +00:00
Joe Taylor
6579b93690 Progress toward full implementation of real-time decoding of MSK144.
I believe file saving and auto-sequencing nor work.  Not sure about posting
to PSK reporter: please check.  


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7112 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-09-28 19:08:19 +00:00
Steven Franke
f210e47cd5 MSK144:
1. Clean up mskrtd to remove unused variables.
2. Re-instate Rx frequency spinbox in MSK144 mode to allow decoding of off-frequency signals with small FTol. Make changes needed to pass Rx Freq in to fortran routines. 
3. Enable realtime decoder for testing. Auto sequence does not yet work when realtime decoding is enabled. There are probably other bugs as well.




git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7109 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-09-25 00:16:29 +00:00
Joe Taylor
c4d00b0f47 1. Display proper UTC on Fast Graph for files read from disk.
2. Move cursor DT readout to lower left of top panel.
3. More work on pick-decodes... but it's not yet fully working.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7092 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-09-17 13:34:40 +00:00
Joe Taylor
13ffbb20eb Remove JTMSK mode and all related routines. Beware of possible unintended side effects!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7079 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-09-13 17:52:45 +00:00
Bill Somerville
66eaf24af0 Add a configurations button to the rig error message box
This button pops up the same context menu as the configurations button
on the main window menu bar. This allows the operator to easily escape
from an incorrectly configured configuration without changing it.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7075 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-09-11 01:09:50 +00:00