The Moving Parts
Scope: the pieces a working station is made of — program, decoder, sound device, clock, rig control, logs — and what breaks when each one stops.
A WSJT-X station looks like one program on a screen. It is really six parts holding hands, and most beginner trouble is one of them letting go. Learn the six and you can name your problem, which is most of fixing it.
1. The program itself
The window you know: waterfall, decode panes, message buttons. It orchestrates everything — takes audio in, hands each slot to the decoder, shows the results, composes your transmissions, runs the sequencing, writes the logs. On the lab machine (a Linux sandbox with no radio attached) the main window opened on the 20-metre band, showing 14.074 000 — the FT8 watering hole — with its green Receiving lamp lit. Settings live behind File → Settings (F2), in eight tabs: General, Radio, Audio, Tx Macros, Reporting, Frequencies, Colors, Advanced. Chapter 5 walks the ones that matter.
2. The decoder, jt9
The cleverness is a separate program.
Under the main window sits jt9, the
command-line decoder that also decodes
JT9, JT65, JT4, FT4, FT8, MSK144, Q65,
FST4 and WSPR-family files. WSJT-X feeds
it each slot's audio; it can equally be
fed WAV files by hand — which is how this
guide's lab proved everything without a
radio:
$ jt9 --ft8 -F 200 -f 1500 210703_133430.wav
133430 -2 -0.8 1197 ~ CQ F5RXL IN94
133430 -13 0.3 590 ~ K1JT HA0DU KN07
...
<DecodeFinished> 0 14 0
Fourteen stations out of one recording.
Knowing jt9 exists is practical, not
academic: it decodes the .wav files
WSJT-X saves, on any machine, years later,
which is the best troubleshooting tool
there is for "why didn't it decode?"
Alongside jt9 the package ships little
encoder utilities — ft8code, jt9code,
jt65code, msk144code, q65code — that
show exactly what a message becomes:
$ ft8code "CQ N0CALL EM10"
Source-encoded message, 77 bits: ...
14-bit CRC: ...
79 channel symbols (tones): 3140652 ... 3140652
The lab used those 79 tones to synthesise a signal and decode it back (chapter 7).
3. The audio path
The radio and the program exchange sound: the receiver's audio becomes the decoder's input, and on transmit the program's tones become the transmitter's microphone signal. Usually that's a USB cable — most modern rigs present a USB sound device — and in the program it's two choices on the Audio tab: Input and Output.
This path is analogue in the middle even when it's digital at both ends, which is why levels matter: too quiet and weak stations drown in the sound device's own noise; too loud and the audio clips, splattering false signals across the waterfall. The program's thermometer-style level meter (green near 30–60 on receive, never red) is the gauge. On the lab machine there was no radio, so the lab proved the same path with a virtual sound card — a PulseAudio null sink whose monitor output fed a recorder, and the decoder read the recording back at the same −10 dB it went in. Chapter 7 tells that story; chapter 10 covers patching programs together with virtual audio on purpose.
4. The clock
FT8's slots begin at 00, 15, 30 and 45
seconds past the minute, worldwide. Your
decoder starts listening when its clock
says so; their transmitter started when
their clock said so. If the two disagree
by more than about a second, decodes
degrade; by two or three seconds, they
stop. The DT column in every decode is
the measured disagreement — the lab's
decodes of the project's recordings sit
within a few tenths, and one hand-started
recording of the lab's own making reads
−1.1 s and still decoded, on tolerance.
So the fourth moving part is not in the program at all: it's your computer's clock, kept honest by NTP (network time protocol). Windows, macOS and Linux all sync by default, but "by default" can drift on a machine that sleeps, travels, or dual-boots. Chapter 6 is short because the fix is simple; it exists because the symptom — everyone is there but nothing decodes — sends beginners everywhere else first.
5. Rig control — Hamlib
The program can also drive the radio: read and set its frequency, set its mode, key its transmitter. That conversation runs through Hamlib, the shared library that knows hundreds of rigs' command languages. WSJT-X carries its own Hamlib inside — the lab's settings window reported, in its own words, "In use: Hamlib 4.6.1".
Two shapes of connection matter:
- Direct: the program opens the rig's serial or USB port itself. One cable, one program, nothing else can use the rig at the same time.
- Through
rigctld: a small daemon owns the rig and serves any number of programs over the network. WSJT-X picks the rig named Hamlib NET rigctl and an address —127.0.0.1:4532for the same machine. The lab ran the daemon against Hamlib's pretend Dummy rig (model 1 — it answers every command and is attached to nothing) and drove a full conversation with therigctlclient:
$ rigctl -m 2 -r 127.0.0.1:4532 f
145000000
$ rigctl -m 2 -r 127.0.0.1:4532 F 7074000
$ rigctl -m 2 -r 127.0.0.1:4532 f
7074000
Frequency read, set, read back; mode set to USB and read back the same. Chapter 10 does the whole arrangement slowly, including pointing WSJT-X's own Radio tab at the daemon — which the lab also did, in the real settings window.
6. The files it keeps
WSJT-X writes as it works, into its data
directory (%LOCALAPPDATA%\WSJT-X on
Windows, ~/.local/share/WSJT-X on
Linux, ~/Library/Application Support/WSJT-X
on macOS):
ALL.txt— every decode the program has ever made, one line each, forever, until you trim it. Your own searchable history of the bands.wsjtx_log.adi— the logbook, in ADIF, the format every other logging program and award scheme reads.wsjtx.log— the running plain-text log of completed contacts.db.sqlite— its database of worked stations, used for the "worked before" colours.- Saved WAVs — if you ask it to
(Save menu), each slot's audio, which
jt9can decode again later.
Chapter 11 covers where they live, what to back up, and what to send where.