Commit Graph

5760 Commits

Author SHA1 Message Date
Joe Taylor
2653626d45 Replace the changes I removed by executing 'git reset HEAD~'. 2020-03-16 10:27:22 -04:00
Bill Somerville
488c2e8066
Cleanup and refactor Fortran shared memory usage
also added some missing locking for the ipc(1) value in ft8_decode().
2020-03-16 13:58:38 +00:00
Joe Taylor
3962aa3c43 Replace hijacked ss(1:3,1) with a separate ipc(3) array. 2020-03-15 14:25:56 -04:00
Bill Somerville
46638f6f07
Add shared memory synchronization to make access safe 2020-03-15 00:25:35 +00:00
Joe Taylor
649a79dfc1 New IPC trial: use shmem instead of .start .stop .quit files. 2020-03-14 17:06:54 -04:00
Bill Somerville
523e9a1a07
Enhanced process control for jt9 executable
The wsjtx  process creates control  files .start, .stop, or  .quit and
the jt9  process deletes  them.  This  is intended  to avoid  any race
conditions that get the processes out of sync.
2020-03-14 00:01:54 +00:00
Joe Taylor
ebf4952c7c Auto-clear of hung decoder status. 2020-03-13 14:25:12 -04:00
Joe Taylor
8151816c84 Change formats of diagnostic writes so that GUI and Fortran output can be sorted together. 2020-03-13 11:25:22 -04:00
Joe Taylor
fedb72a38c Set m_nDecodes=0 only after the 50-buffer decode pass. 2020-03-12 16:52:19 -04:00
K9AN
f7d7c073c8 Fix a bug. 2020-03-12 15:36:03 -05:00
Joe Taylor
afe0262ec9 Previous commit message should have mentioned number of decodes is now displayed on status bar. 2020-03-12 15:11:20 -04:00
Joe Taylor
8e7685ea36 Do not alolow bailouts when data were read from disk. 2020-03-12 15:07:56 -04:00
Joe Taylor
0d535f24fb Move the AA and CC diagnostic writes from jt9a() to decoder(). Add ndecodes to BB and CC. 2020-03-12 14:31:02 -04:00
Joe Taylor
f30754bdf5 Remove superfluous part of if() test. 2020-03-12 13:53:57 -04:00
Joe Taylor
68c942a70e Correct the 47-buffer bailout place. Change bailout times 45->46 and 48->49. 2020-03-12 13:00:42 -04:00
Joe Taylor
6e308f0018 More attempts to diagnose or fix the FT8 "hung decoder" issue.
On the Fortran side:
 - For the nzhsym=41 activation, bail out if m_ihsym reaches 45
 - For the nzhsym=47 activation, bail out if m_ihsym reaches 48
 - Change the format and content of what's written to fort.71
 - Change msdelay from 10 to 1

In mainwindow.cpp:
 - change format and content of what's written to qDebug
 - always start FT8 decoder at m_ihsym = 41, 47, and 50
2020-03-12 12:33:34 -04:00
Bill Somerville
6a7263dc94
Add escape route from retries of IPC errors 2020-03-11 22:38:41 +00:00
Bill Somerville
c58a690bf1
Add error checking to jt9 process control by .lock/.quit files 2020-03-11 22:26:41 +00:00
Joe Taylor
4d9c9e08e2 If 47-buffer call takes too long, start the 50-buffer call late. 2020-03-11 16:03:51 -04:00
Joe Taylor
d69cb49e9a Diagnostic writes to fort.71 in jt9a.f90. 2020-03-11 14:02:19 -04:00
Joe Taylor
199ff3dd3d Experimental work-around for FT8 decoding on slow computers. Important changes:
- don't start function decode() is decoder is already busy
  - send updated m_ihsym to jt9[.exe] via ss(1,1).  Bill won't like this!
  - jt9 bails out of the 41-buffer pass at m_ihsym=45.
2020-03-10 16:26:42 -04:00
Joe Taylor
592f4eea71 Remove a qDebug() call. 2020-03-09 15:29:57 -04:00
Steven Franke
cf5aab0088 Allow up to 500 pre-candidates. 2020-03-09 14:03:53 -05:00
Steven Franke
d57b84be27 More changes to increase ft8 decoder yield. 2020-03-08 12:03:52 -05:00
Steven Franke
b130479249 Make jt9 work with the 41/47/50 scheme. 2020-03-06 19:03:09 -06:00
Steven Franke
83d87e9654 Fix an apparent typo in ft8_decode. 2020-03-06 19:02:41 -06:00
Steven Franke
fa071324e5 subtractft8: Delete unused variable, i1 2020-03-06 13:21:04 -06:00
Steven Franke
3467ee7924 Make Normal decode the same as Deep except no DT refinement at nearly=47. 2020-03-06 11:54:28 -06:00
Steven Franke
f2266c3c54 1. subtractft8: on the last call to sqf, don't need to do the long FFT.
2. mainwindow.cpp: based on the time when <DecodeFinished> is received, calculate
mswait to try to place the killFile time at 0.75*m_TRperiod.
2020-03-06 11:06:44 -06:00
Joe Taylor
f367b6d6b9 Temporary version: decode call at 47 buffers only does subtractions. 2020-03-06 10:38:24 -05:00
Joe Taylor
431ec50212 Progress toward decoding at 41/47/50 buffers. Not yet complete! 2020-03-05 15:37:31 -05:00
Steven Franke
6773768586 Clean up the timestamp adjustment logic, and make the threshold 0.5*TRperiod. 2020-03-05 11:25:49 -06:00
Steven Franke
cb687c7034 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-03-05 11:17:03 -06:00
Steven Franke
07c753e284 Make ALL.TXT Rx timestamp equal to the beginning of the TR period, even if the decode comes in after the start of the next TR period. Make Tx timestamp the actual time that Tx started. 2020-03-05 11:16:56 -06:00
Joe Taylor
cd9efc54ea Correct the reported value "ndecoded" for FT8 mode. 2020-03-03 15:18:25 -05:00
Joe Taylor
02eb4fe90b Use a table lookup for exp(i*phi) in gen_ft8wave.f90. 2020-03-03 12:40:27 -05:00
Steven Franke
761ee1cd85 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-02-29 13:47:09 -06:00
Steven Franke
037805ca8f Improve dt estimation in ft8b so that dt refinement procedure in subtractft8.f90 can be done with 4 calls to sqf instead of 7. 2020-02-29 13:46:59 -06:00
Joe Taylor
6c1efac576 Once more, to get the <DecodeFinished> behavior right for realtime monitoring as well as data from disk. 2020-02-28 15:45:51 -05:00
Joe Taylor
8e7a56634b Set nearly=41; don't write <DecodeFinished> after the early decode pass. 2020-02-28 15:03:39 -05:00
Joe Taylor
f9322f2b43 Add calls to timer() around calls to subtractft8(). 2020-02-28 11:25:32 -05:00
Joe Taylor
2e696574c9 Add a TIP about *Alternate F1-F6 bindings* to User Guide. 2020-02-28 11:24:24 -05:00
Steven Franke
877878ea88 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-02-27 09:10:27 -06:00
Steven Franke
403904089e Re-arrange the fields in the ALL_WSPR.TXT file. 2020-02-27 09:10:17 -06:00
Joe Taylor
b9888a09ff Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-02-26 13:16:12 -05:00
Joe Taylor
6afff5821e Correct the times written to ALL.TXT when decode occurs after the T/R boundary. 2020-02-26 13:15:22 -05:00
Joe Taylor
00210d1141 Minor code cleanup in subtractft9.f90. 2020-02-26 13:14:49 -05:00
Steven Franke
478fd74e84 Remove reference to obsolete file ft8.f90 in CMakeLists.txt. 2020-02-25 17:06:36 -06:00
Steven Franke
1dde5fdd6c Fix a minor bug in the unpk_ routine that was introduced in the last commit. 2020-02-25 15:28:57 -06:00
Steven Franke
38bac5e335 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-02-25 10:56:22 -06:00