Commit Graph

106 Commits

Author SHA1 Message Date
Joe Taylor
c9e20f6f9d This is test code!!
I have changed the declarations of the Rig class functions we use:

open()
setConf()
getFreq()
setFreq()
setPTT()
close()

... so that each one returns the (negative) error code returned by 
hamlib.  These functions no longer throw exceptions.

Initial tests seem to show things working well.  I have found one
condition that causes a crash.  The rig is initially opened and is
running OK (in this case, with the Polling interval set to 1 s).  Then
the radio is turned off.  The next call to getFreq() never returns.

Probably we need to set a timeout limit?

The code is kinda on the quick-and-dirty side.  Improvements will be 
welcom!



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3246 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-30 18:54:11 +00:00
Joe Taylor
d62a045e27 Starting to implement a "polling interval" option. More to come!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3245 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-30 14:34:45 +00:00
Joe Taylor
bcb74260af Execute the "band changed" routine when the Band combobox is activated,
even if selected band has not changed.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3244 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-29 23:53:23 +00:00
Joe Taylor
833376db3d Save/restore geometry of LogQSO window over program invocations.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3240 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 20:23:14 +00:00
Joe Taylor
c1995c44ff Save and restore geometry of the "LogQSO" dialog.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3238 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 18:58:03 +00:00
Joe Taylor
342dd64cd5 Make the LogQSO dialog non-modal.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3236 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 13:35:01 +00:00
Joe Taylor
a75f2e0f10 1. Diasble any irrelevant widgets on Configuration screen.
2. Rationalize tab-order on main window.
3. Tweak the GUI appearance around DxCall, DxGrid.  (Hope it's still OK 
   in Linux!
4. Add helpful displays of Keyboard Shortcuts (F3) and Special Mouse
   Commands (F4).
5. Bump version number to 0.95.
6. Update the Windows packaging script.
7. Update ChangeLog in preparation for possible release of v0.95 r3226.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3226 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-26 16:23:18 +00:00
Joe Taylor
b954f1d85d "Data" and "Mic" options for PTT via CAT control.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3223 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 22:57:08 +00:00
Joe Taylor
a83d4e48a4 Corrected a startup problem: m_band was used before being defined.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3213 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 14:41:06 +00:00
Joe Taylor
1ceba579ff Add a setup checkbox "RTS/DTR Off", to enable proper CAT control of
Elecraft K2 (and possibly other rigs?).


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3209 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 19:41:58 +00:00
Joe Taylor
513927e041 1. New buttons to set Txfreq=RxFreq and RxFreq=TxFreq.
2. Don't change Tx5 message when rpt spinner is activated.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3207 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 16:05:04 +00:00
Joe Taylor
dab1519ad8 Option to allow multiple instances of WSJT-X to run simultaneously.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3206 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 15:00:30 +00:00
Joe Taylor
4ba1f7d932 Clicking the "Report" spinner up/down should not change the Tx message number.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3205 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 00:45:01 +00:00
Joe Taylor
d95e900636 1. Removed all vestiges of rigctl use. Now using calls to hamlib
functions.  

2. Restored "Test CAT Control" and "Test PTT" buttons on the 
Setup | Configuration screen.

These features need thorough testing!



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3204 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-23 20:46:04 +00:00
Joe Taylor
24f7952819 Once again, working to implement direct calls to basic hamlib functiions.
*** This code is not finished, and may not work correctly! ***


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3200 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-23 00:52:51 +00:00
Joe Taylor
0efd7824f0 Don't post a spot to PSKreporter if band was changed in the past 50 s.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3196 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-18 10:35:58 +00:00
Joe Taylor
51265e1adf Temporary updates... must still improve the Tune-button logic.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3194 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-17 15:53:43 +00:00
Joe Taylor
8feedd22a2 Removed the bi-directional CAT control: an unsuccessful experiment.
Removed an unhelpful change to decoder().


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3193 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-17 14:53:58 +00:00
Joe Taylor
7d416a1fe5 Highlight freq readout if radio is on wrong band.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3187 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-16 20:18:50 +00:00
Edson W. R. Pereira
0f3f82b770 Initial tests with new PSK Reporter interface. Only on UNIX for now.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3186 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-16 20:15:25 +00:00
Joe Taylor
3ed5f2ec35 Backed out the changes from r3171 to r3172 -- too buggy at present.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3173 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-15 21:13:31 +00:00
Joe Taylor
b02d298518 1. CAT control now working with calls to hamlib functions.
Needs testing!!!
2. Added "Test CAT Control" and "Test PTT" buttons on 
   Setup | Configuration screen.  (Must fix flaky behavior of calls to ptt().)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3172 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-15 20:20:06 +00:00
Joe Taylor
7bc09300eb Add instructional labels to Tab 2.
Reset m_repeatMsg=0 on Tx Halt, etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3171 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-15 16:06:22 +00:00
Joe Taylor
57d8bb4fd9 Starting to implement direct calls to hamlib functions, rather than
using rigctl in a separate process.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3170 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-15 00:28:27 +00:00
Joe Taylor
c94eb2ff4b Added "Tune" button.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3168 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-14 14:11:20 +00:00
Joe Taylor
46a780e7f1 CAT control now reads and follows changes in radio Dial Frequency.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3167 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-13 18:51:25 +00:00
Edson W. R. Pereira
ee55040005 Moved initialization of shared memory segment to the main funcion in order to exit gracefully in case of errors.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3163 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-13 12:28:03 +00:00
Joe Taylor
5483e378b0 1. Option to send Tx message (highlighted in yellow) to QSO window.
2. Setup | Options changed to Setup | Configuration
3. Alt-V causes save-to-file of the most recently completed Rx sequence.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3161 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-12 17:57:20 +00:00
Joe Taylor
6cd932fada Correct the logic for Runaway Tx Watchdog.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3157 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-11 20:59:17 +00:00
Joe Taylor
f9747c91b3 1. Erase button: click once to erase QSO window, twice to erase both.
2. New Setup options: "Tx disabled after sending 73" and "Runaway Tx watchdog".
3. Keyboard shortcuts:
   Alt-D: decode again at QSO frequency (same as Decode() button)
   Shift-D: full decode again, both windows
   Alt-E: Erase()
   Ctrl-F: Edit free text message
   Alt-H: Halt Tx()
   Alt M: Monitor()
   Alt-N: Enable Tx()
   Alt-Q: Log QSO
   Alt-S: Stop()


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3155 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-11 16:51:57 +00:00
Joe Taylor
7b73e76b04 Color highlighting in left window is now optional.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3138 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-09 00:34:39 +00:00
Joe Taylor
574c2511f5 1. New controls for selecting Tx messages now functioning correctly?
2. Double-click on decoded message sets Tx Enable.
3. Implemented a runaway Tx watchdog.
4. Added a spinbox for S/N report.
5. Implemented correct message formats for compound callsigns.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3135 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-08 18:31:21 +00:00
Joe Taylor
56d49f985f Offer two sets of controls for entering and selecting Tx messages:
1. The "WSJT Traditional" setof six line-edit fields, radio buttons,
and Tx# buttons;

2. New configuration with buttons that generate each message for the
standard minimum QSO, one at a time.

NB: the logic for these buttons is not yet complete.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3134 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-08 01:50:49 +00:00
Edson W. R. Pereira
7d5bbf47c3 1. Moved fMin and fMax spin boxes to spectrum widget.
2. Adjusted mainwindow layout.
3. Added label at top level of decoded text widgets.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3133 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-05 16:48:10 +00:00
Joe Taylor
757fd241df Now have two decoded text boxes: left for decodes at QSO frequency, right
for everything else.
NB: I have screwed up the vertical expansion of mainwindow: growth occurs
at the bottom, rather than in the text boxes.  Help!


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3129 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-04 00:09:25 +00:00
Joe Taylor
7f8f9ed528 "Clear call and grid after logging" is now optional.
Option to display distance in miles.
Remove (or reduce?) negative red spikes at start of Rx period.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3128 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-03 21:32:21 +00:00
Joe Taylor
7f72925679 First try at changing Tol to fMin and fMax. More work still to be done!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3125 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-03 16:44:31 +00:00
Joe Taylor
461fdd79aa 1. Blank lines between decoding periods now optional.
2. "CQ DX" is now treated properly when the decoded line is double.clicked.
3. Displayed sync values reduced by 1/2.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3124 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-03 15:35:11 +00:00
Joe Taylor
87f17ecb04 1. Blank line (gray background) to decoded text window at start of new
decoding minute.
2. LogQSO confirmation screen no longer blocks GUIupdate().
3. Remove an unused item from Help menu.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3117 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-29 00:21:26 +00:00
Joe Taylor
37be6919aa Add required string length for C-to-Fortran calling sequence for stdmsg_().
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3114 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-27 20:49:12 +00:00
Joe Taylor
0192ff74f8 Correct logic errors when user has requested VOX control of PTT.
Clear DXCall and DXGrid boxes after logging a QSO.
Add instruction at top of "confirm LogQSO" screen; increase font size on 
its labels.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3113 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-27 20:08:00 +00:00
Joe Taylor
eceeb969ad Add "Prompt to log QSO" option on Setup menu.
Reduce code speed for CW ID to 22.5 WPM.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3110 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-26 16:23:40 +00:00
Joe Taylor
0516a86dd8 1. Tweak the DialFreq label; remove similar label from Wide Graph window.
2. Add a tab for Default Frequencies on Setup window.
3. Update Makefile.MinGW
4. Bump version number to 0.8.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3097 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-25 19:13:49 +00:00
Joe Taylor
12523c42a4 Implemented CW ID.
Signal reports 0 dB and above now displayed as "+03", "+16", etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3089 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-25 01:24:47 +00:00
Joe Taylor
a1e43d4a77 Continuing to work on Rig Control.
Changed "Tx = QSO Freq" button to a band-change ComboBox.
Rig control of frequency setting and T/R now works on TS-2000.
T/R sequencing is not yet correct, but I thimnk it still works OK in the 
DTR/RTS switching mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3083 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-24 17:29:26 +00:00
Joe Taylor
8b9714d487 Working on Rig Control... Not complete yet, but psogram should compile
and run with PTT control via DTR/RTS.

Will need to replace a "labAzDist" label in mainwindow.ui.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3080 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-24 14:13:37 +00:00
Edson W. R. Pereira
1d3e676063 Syncing updates
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3079 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-24 14:05:31 +00:00
Joe Taylor
17bba63b1f Starting to implement CAT control. Not finished yet, and there may be bugs!
PTT control not yet done...


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3078 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-24 12:55:13 +00:00
Joe Taylor
1389f8e644 1. Activated "Name" and Comments" fields on the LogQSO confirmation screen.
2. Decoding now starts at t=50 s rather than t=52 s.
3. Label on "Auto is On/Off" button changed to "Enable Tx".
4. Three new options on the Setup menu, to help importing ADIF log into some
   fussy loggers:
   - Log HT9 without submode
   - Convert JT9-x to RTTY for logging
   - Log dB reports to Comments



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3077 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-23 18:24:27 +00:00
Joe Taylor
62648d2e70 Display Az and Dist when "hisGrid" is known and valid.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3075 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-03-23 15:41:31 +00:00