Elliott Liggett
ad73a3e9d2
Adjustable waterfall length is now non-destructive.
2021-06-08 09:58:30 -07:00
Elliott Liggett
857286dae2
Baud rate calculations are now only happening when baud rate is received
...
and reasonable.
2021-06-08 09:18:40 -07:00
Elliott Liggett
b2c4bbf7f8
Better baud rate management for LAN-connected radios.
2021-06-08 08:58:11 -07:00
Phil Taylor
24ce16b0b9
Add QtMultimedia as default audio
2021-06-04 08:24:26 +01:00
Phil Taylor
84fd5e0631
Use heap based rtaudio for enumeration
2021-06-02 20:13:17 +01:00
Phil Taylor
78f4b7b508
Merge remote-tracking branch 'origin/sequence' into rtaudio
2021-05-31 09:56:05 +01:00
Elliott Liggett
b5167a6a97
Waterfal length may now be adjusted. Let's see what range of length
...
seems good and limit the control accordingly. Also there may be a memory
leak in the prepareWf() function where the colormap is created when the
image is resized.
2021-05-30 23:26:36 -07:00
Elliott Liggett
d601983beb
CIV may now be changed as-needed while running.
2021-05-30 15:08:22 -07:00
Elliott Liggett
f2c82e2ca0
More chair movements.
2021-05-28 21:27:06 -07:00
Elliott Liggett
01a7be9942
More arranging of the chairs. Also fixed a minor bug that prevented the
...
"Manual" serial device entry on my system.
2021-05-28 21:01:29 -07:00
Elliott Liggett
fe04dde66e
Cleaning up the main constructor for wfmain.
2021-05-28 20:51:19 -07:00
M0VSE
6c47e2fa5a
Fixes for linux build
2021-05-23 23:04:35 +01:00
Phil Taylor
ae69ef05e5
Non working test
2021-05-23 16:09:41 +01:00
Phil Taylor
f22f4224dd
Merge branch 'lan-alpha' into rtaudio
2021-05-22 21:09:04 +01:00
Phil Taylor
b669605e11
Add baud rate detection for remote rigs
2021-05-21 16:30:52 +01:00
Phil Taylor
f2491064fd
Merge branch 'ui-enhance' into lan-alpha
2021-05-21 08:48:59 +01:00
Elliott Liggett
d0f95e2289
Cleaned up warning and UI help text.
2021-05-20 15:17:10 -07:00
Phil Taylor
3af7b61d01
Add --settings option for settings file
2021-05-20 19:24:40 +01:00
Elliott Liggett
30b7f8ee0f
Serial baud rate is in the UI now. Added some enable/disable code to
...
prevent confusion about which options can be used with which types of
connections.
2021-05-19 21:36:34 -07:00
Elliott Liggett
a981f973fc
Removed unused variable.
2021-05-19 20:35:45 -07:00
Phil Taylor
2b8cc4c849
remove duplicate audioPacket metatype
2021-05-18 09:37:55 +01:00
Phil Taylor
6074372e37
Merge branch 'ui-enhance' into lan-alpha
2021-05-18 09:35:58 +01:00
Elliott Liggett
7857680845
Changed UI a little, and added manual CI-V options. Seems to work well.
2021-05-18 00:29:06 -07:00
Phil Taylor
bada37acdf
Make audio input buffer a qMap
2021-05-17 16:19:36 +01:00
Phil Taylor
e4edda9576
register audio metatype in wfmain with all of the others
2021-05-16 21:35:22 +01:00
Phil Taylor
57bffd73a2
More rtaudio stuff
2021-05-16 21:16:59 +01:00
Phil Taylor
d304b368b6
Test commit of rtaudio
...
This commit doesn't actually use RTAudio for anything other than enumerating devices and is a proof of concept for each supported platform.
2021-05-16 13:34:04 +01:00
Elliott Liggett
a0a2c025ef
wfview now closes when the main window is closed.
2021-05-14 20:00:38 -07:00
Elliott Liggett
908ec96567
Data Mode now sends the currently selected filter.
2021-05-08 23:46:44 -07:00
Elliott Liggett
3a9967cb8c
Fixed BSR mode and filter selection.
2021-05-07 15:46:47 -07:00
Elliott Liggett
14b0ba2151
The band stacking register now uses the newer integer frequency parsing.
...
We also communicate a little slower to the serial rigs, which seems more
reliable.
2021-05-07 14:52:19 -07:00
Phil Taylor
cf49551db0
Convert project to 32bit default on Windows and remove beginnings of VSPE code.
2021-05-06 11:25:23 +01:00
Phil Taylor
e041e6d1c5
Add code to select virtual serial port
2021-05-05 14:11:00 +01:00
Elliott Liggett
fa869dd270
Different timing on command polling for serial rigs.
2021-04-30 22:15:30 -07:00
Elliott Liggett
96a32f9069
Additional bands added, Airband, WFM
2021-04-27 20:18:17 -07:00
Elliott Liggett
1923d5a01c
Well, that was fun. Color preferences now work, and colors can be
...
modified from the preference file for custom plot colors.
The preference file now stores colors as unsigned int. To convert the
colors in the file to standard AARRGGBB format (AA = Alpha channel), use
python's hex() function. Maybe one day we will fix the qt bug and make
this save in a better format.
2021-04-26 23:40:08 -07:00
Elliott Liggett
7109c2b396
Added dynamic band buttons. Fixed multiple bugs related to various
...
differences in band stacking register addresses (for example, the GEN
band on the 705 has a different address from the 7100 and the 7300).
This code was only tested with the 9700.
2021-04-26 18:24:28 -07:00
Elliott Liggett
80cc3e6dc0
Added ability to read RIT status. Added RIT to initial rig query. Added
...
variables to handle delayed command timing values. Fixed bug in
frequency parsing code that had existed for some time. Changed tic marks
on RIT knob because I wanted more of them. Bumped startup initial rig
state queries to 100ms. May consider faster queries on startup since we
are going to need more things queried on startup.
2021-04-25 00:23:52 -07:00
Elliott Liggett
f619e9eca1
Receiver Incremental Tuning is in. The UI does not check the rig's
...
initial state yet, but the functions are partially in rigCommander for
that purpose.
2021-04-24 00:31:51 -07:00
Elliott Liggett
d4765f3287
Modified rig power management to stop command ques (s-meter and others).
...
Upon rig power up, the command queue is repurposed as a 3 second delay
for bootup, and then, commands are issued to restore the spectrum
display (if the wf checkbox was checked). I've made new functions,
powerRigOff and powerRigOn, for these purposes.
2021-04-23 23:11:54 -07:00
Elliott Liggett
3fa0dfaecd
Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance
2021-04-20 08:54:23 -07:00
Phil Taylor
6623c2ced0
rigctl working (sort of) with WSJT-X
2021-04-20 12:29:10 +01:00
Elliott Liggett
2e5a4f05a4
Preliminary commit for power-on and power-off functionality. Is not
...
correct for most rigs.
2021-04-19 22:55:39 -07:00
Phil Taylor
cb434d694e
Fix linux compile error
2021-04-19 17:49:51 +01:00
Phil Taylor
b3758d210f
Merge branch 'ui-enhance' into lan-alpha
2021-04-19 17:28:33 +01:00
Phil Taylor
c78ad19210
Initial commit of rigctld (doesn't currently do anything useful!)
2021-04-19 17:26:26 +01:00
Elliott Liggett
63ef522e89
Goodbye tracer
2021-04-17 19:41:15 -07:00
Elliott Liggett
ce3c4dfe54
Now grabs scope state on startup. Found bug, did not fix, in the
...
frequency parsing code. Worked aroud it by using doubles for now.
2021-04-11 00:42:25 -07:00
Elliott Liggett
aac777eb07
Preamp and attenuator are now queried on startup. Additionally, the
...
preamp is checked when the attenuator is changed, and the attenuator is
checked with the preamp is changed. This helps the user understand if
the rig allows only one or the other to be active (such as the IC-9700).
2021-04-10 22:48:32 -07:00
Elliott Liggett
4f3de02482
Added frequency line. Let's see how we like it.
2021-04-10 15:34:35 -07:00
Elliott Liggett
5cc2aa0efe
Add some preliminary parts of getting the attenuator, preamp, and
...
antenna selection on startup. UI not updated yet but getting there.
2021-04-10 00:21:58 -07:00
Elliott Liggett
e7e1431fe3
Added waterfall theme combo box
2021-04-09 23:38:36 -07:00
Elliott Liggett
6b967a52b9
Antenna selection might work, untested.
2021-04-09 15:57:16 -07:00
Elliott Liggett
aff2e281e8
Preamp code is in. Can't read the current preamp state yet but we can
...
set it. Nicer names for preamp and attenuator menu items.
2021-04-09 10:04:20 -07:00
Elliott Liggett
92f019b787
Attenuators are in! Please try them out!
2021-04-07 23:35:24 -07:00
Elliott Liggett
e45557e04d
We now query the repeater-related things on startup, such that the
...
repeater UI is populated correctly.
2021-04-06 22:06:08 -07:00
Elliott Liggett
36b6d9b678
Moved some repeater-related things out from rig commander and into a
...
shared header.
2021-04-01 15:28:09 -07:00
Elliott Liggett
8bf45ac5b2
Adjusting signals and slots for repeater duplex.
2021-03-31 00:29:22 -07:00
Elliott Liggett
864b2f491a
Adding code to support a separate repeater setup window.
2021-03-30 23:37:35 -07:00
Elliott Liggett
a26a352389
Changed frequency parameters to (mostly) unsigned 64-bit ints. This
...
makes all the rounding code very simple and removes many annoying lines
of code designed to handle errors induced by using doubles for the
frequency.
2021-03-22 00:11:43 -07:00
Elliott Liggett
ce6cc451b9
Added serial port drop-down population code. Untested.
2021-03-06 23:35:46 -08:00
Elliott Liggett
145b8d45a5
Tuning steps! Still need to zero out those lower digits while scrolling
...
if box is checked.
2021-03-04 00:02:53 -08:00
Elliott Liggett
60756480ce
Changed serial and LAN enable controls to "radio buttons" so that they
...
are exclusive selections.
2021-03-02 21:55:33 -08:00
Phil Taylor
a254a937ff
Allow selection of audio input and output devices for UDP Audio
2021-03-01 20:31:05 +00:00
Phil Taylor
91a60bf918
Create udpPreferences struct and remove civPort and audioPort from UI
2021-03-01 19:53:12 +00:00
Phil Taylor
6b795e1d6d
Add PTT Led and rigname to Permanent Widgets on Status Bar
2021-03-01 16:26:59 +00:00
Phil Taylor
18b287a047
Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha
2021-03-01 08:30:04 +00:00
Elliott Liggett
5577aebf8b
Removed the last annoying legs of the center/fixed two-mode system.
2021-02-28 21:47:45 -08:00
Elliott Liggett
5a673e256c
Added support for Scroll modes in latest firmware. Removed setCenter...
...
signals and replaced with setScopeMode signals. Fixed a bug where we
could not query the scope mode.
2021-02-28 21:41:27 -08:00
Phil Taylor
b4ea60e5d2
Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha
2021-02-28 20:23:31 +00:00
Phil Taylor
aef03a6b7e
Add audio handling to UDP server
2021-02-28 20:10:07 +00:00
Elliott Liggett
c1dc6d3eb7
Fixed issue with tuning steps and scrolling. Note: there are two
...
modifiers for the scrolling steps.
By default, scrolling on the WF or plot produces 100 Hz steps. Hold down
shift for 10 Hz steps, or hold down control for 1 khz steps. This works
well for me tuning in stations I have clicked on but perhaps not clicked
accurately.
2021-02-26 17:32:06 -08:00
Phil Taylor
27eb855adb
Create rx audio packets with timestamp
...
Lots of other changes but if this works OK, I will update tx audio to use the same system.
2021-02-27 00:37:00 +00:00
Elliott Liggett
af2191da16
Cleaned up meter code, we can now query any meter we wish very easily,
...
either queued or directly.
2021-02-25 23:57:37 -08:00
Elliott Liggett
29d3893bb0
Added a nice s-meter. It isn't right yet, but it's a start.
...
TODO: Change scale for power meter, make sure full-scale fits
TODO: create static image from scale to overlay each time rather than
drawing each time.
2021-02-24 00:18:19 -08:00
Elliott Liggett
5da631ab0a
Frequency lock works now.
2021-02-21 23:58:23 -08:00
Elliott Liggett
24d802597a
Removed more unneeded debug and three unused functions. Just cleaning
...
house.
2021-02-21 22:13:21 -08:00
Phil Taylor
ba0509ba61
Fix txaudio and move udphandler into its own thread
2021-02-21 14:53:42 +00:00
Elliott Liggett
c3e0fa7dbd
S-Meter working! Power meter working!
...
Needs more testing, but it's here! 100ms polling time.
2021-02-20 20:41:19 -08:00
Elliott Liggett
a9d430b271
Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance
2021-02-20 00:23:58 -08:00
Elliott Liggett
d7c01f9560
Data checkbox now changes input source label and updates level of slider
...
to last-known value for given MOD source.
2021-02-20 00:15:47 -08:00
Elliott Liggett
9793b9e1cb
Audio input gain slider now adjusts whatever the active MOD source is.
...
Text follows drop-down menu selection.
2021-02-20 00:05:23 -08:00
Phil Taylor
b9c4921802
Hopefully fix crash on startup.
2021-02-19 09:28:03 +00:00
Elliott Liggett
3538e545d9
We can now set the modulation input and read the modulation input for
...
both data on and data off.
Next step is to change the "Mic" slider to adjust whatever input is
selected.
2021-02-19 00:14:40 -08:00
Elliott Liggett
224e73ae3d
Added "Use System Theme" check box code. You can now toggle between the
...
built-in dark stylesheet and the system theme, and can do so
independently of the waterfall theme. Thus, one can enjoy using other
tools to set the widget theme.
2021-02-18 22:38:50 -08:00
Elliott Liggett
5c50b82dba
Duplex controls now function. NB: "Auto" mode works as follows: User
...
selects "auto", rig does nothing, user changes frequency or band, and
then, the rig will automatically select the correct duplex mode. This is
the same way the rig works from the front panel.
2021-02-18 21:47:19 -08:00
Elliott Liggett
74c6d65e1d
Merge remote-tracking branch 'origin/lan-alpha' into ui-enhance
2021-02-17 23:49:49 -08:00
Elliott Liggett
6a3260bb8a
Added void slot code to receive USB/LAN/ACC gain, Mod input selection,
...
and duplex mode. Will connect up to UI elements later.
2021-02-17 23:47:34 -08:00
Elliott Liggett
d03d781713
Fixed busted keystroke assignments (mode and transmit).
2021-02-16 22:32:05 -08:00
Phil Taylor
4b6b73894b
Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha
2021-02-16 20:26:26 +00:00
Phil Taylor
95028374b4
First commit of server code
...
Doesn't actually do anything at the moment other than allow clients to connect and login.
2021-02-16 16:16:46 +00:00
Elliott Liggett
a95a957b59
wfview now checks the current spectrum reference level on startup.
2021-02-15 22:37:35 -08:00
Elliott Liggett
ca2a8e1235
Added code to check the scope reference level. Will add a on-startup
...
check next.
2021-02-15 22:33:21 -08:00
Elliott Liggett
a0e9392617
Added scope reference setting. Write-only for now. UI slider works.
2021-02-15 21:40:31 -08:00
Elliott Liggett
6938ed8a60
Full support for set and read mic gain and tx power. Code also exists to
...
set and read microphone compressor level, vox gain, anti vox, and self
audio monitor.
2021-02-15 20:32:14 -08:00
Elliott Liggett
91ce7f16d0
Added more support for levels (TX power and Mic Gain). Does not change
...
levels, just displays on debug button.
2021-02-15 17:15:28 -08:00
Elliott Liggett
1f133344ba
Fixed reference issue where the slider and spinbox didn't track
...
correctly. Re-arranged buttons for this dialog.
2021-02-14 22:40:04 -08:00
Elliott Liggett
fdaadc0d2a
Added issueDelayedCommand and issueDelayedCommandPriority functions.
...
These are the methods by which we should issue queued commands to the
radio. It is no longer necessary to re-start the timer when using these
methods. These methods might get more advanced later, and this structure
will allow for more growth.
2021-02-14 20:51:18 -08:00
Elliott Liggett
32f407020b
Changed front panel UI to contain more of the core features. PTT button
...
was interesting, now has function of Transmit on click, but if already
transmitting, sets to receive.
2021-02-14 20:45:48 -08:00
Phil Taylor
dce5d93a6c
Starting to create udp server
2021-02-14 18:32:58 +00:00