Rig Control Without Tears
Scope: CAT, PTT, VOX, and the daemon in the middle — what rig control is, why you want it, and the exact arrangement the lab proved against a rig that doesn't exist.
What CAT buys you
CAT (computer-aided transceiver) is the rig's remote-control language. With it, WSJT-X:
- reads the VFO, so clicking a band in the program and turning the dial by hand stay in agreement;
- sets frequency and mode when you change bands — no more "the waterfall was last band's audio all along";
- keys the transmitter for exactly the tones, in exactly the slots;
- knows the rig's state well enough to do split tricks that keep your audio in the clean part of the passband.
Without CAT you can still operate — set the dial by hand to the watering hole, key by VOX — and plenty of contacts have been made that way. With it, the program and the radio stop disagreeing, which removes a whole family of "it decoded nothing" evenings.
PTT: how the transmitter gets keyed
Three honest options, in the order the Radio tab offers them:
| Method | How | Choose when |
|---|---|---|
| CAT | the program sends the rig's own "transmit" command | the rig and its CAT link support it — the usual case |
| RTS / DTR | a serial port pin is raised; the interface turns that into PTT | your interface cable is wired for it |
| VOX | the rig keys itself when it hears your tones | nothing else is available, or the rig is VOX-only |
VOX works but carries two cautions: it can't key before the first tone (a hair of the first symbol is spent waking it), and any other sound on that audio path — a system notification, a browser video — becomes a transmission. A dedicated output device for the rig (chapter 5) is not optional under VOX; it's the safety.
The arrangement the lab proved
Hamlib — the rig library WSJT-X carries
inside it ("In use: Hamlib 4.6.1", in the
settings window's own words) — can put a
daemon between programs and rig:
rigctld owns the radio link; any number
of programs ask it for things over the
network. The package ships its own build,
rigctld-wsjtx, so its idea of every rig
matches the program's exactly.
The lab had no rig, so it used the rig Hamlib keeps for exactly this: model 1, "Dummy" — a pretend transceiver that answers every command and is attached to nothing. Started like this:
rigctld-wsjtx -m 1 -t 4532 & # Dummy rig, serving on port 4532
and then driven with Hamlib's client, using model 2 — "NET rigctl", the client that speaks to a daemon:
$ rigctl -m 2 -r 127.0.0.1:4532 f (frequency, as found)
145000000
$ rigctl -m 2 -r 127.0.0.1:4532 F 7074000 (set: 40 m FT8)
$ rigctl -m 2 -r 127.0.0.1:4532 f (read back)
7074000
$ rigctl -m 2 -r 127.0.0.1:4532 m (mode, as found)
FM
15000
$ rigctl -m 2 -r 127.0.0.1:4532 M USB 2800 (set USB, 2800 Hz wide)
$ rigctl -m 2 -r 127.0.0.1:4532 m
USB
2800
Frequency read and set, mode read and set, all answered. One honest gap: asking the Dummy for its PTT state returns "Feature not available" — the pretend rig doesn't implement it. A real rig would answer; the protocol path is the same one proven above. (Transcript: t08.)
Pointing WSJT-X at the daemon
In the program itself — the lab did this in the real settings window, headless, and photographed each step:
- Settings → Radio. The Rig dropdown contains several hundred entries; type-ahead works — typing "Hamlib NET rigctl" lands on it. Select it.
- The CAT Control panel changes: serial
settings grey out and a Network
Server field appears. Enter
127.0.0.1:4532(same machine) or the address of the machine that runs the daemon. - Leave Poll Interval at 1 s, PTT Method on CAT, Mode on USB (or Data/Pkt for a rig with a data mode — your rig's manual decides), Split Operation on Fake It unless you have a reason otherwise: it moves the VFO a little during transmit so your audio tones stay in the transmitter's cleanest range, and fakes the split so the receiver never notices.
- Test CAT, then Test PTT, then OK.
Step 4 deserves its lab footnote, told in full in chapter 15: on the lab's sound-card-less sandbox, Test CAT never fired — the dialog first demanded a valid audio device (there was none to choose) and jumped to the Audio tab instead. The daemon's log proved no connection was even attempted. The settings themselves were entered and photographed in place; the final button-press is the one documented-only item in this chapter, and it is blocked by a missing sound card, not by the rig path — which t08 proves end to end. On your shack machine: pick the audio devices first (chapter 5), then test CAT, and expect the button to turn green.
Direct or daemon?
- Direct (Rig = your model, serial port chosen) is simpler and right for a single program. Nothing else can use the rig meanwhile.
- Daemon (
rigctld, then every program picks Hamlib NET rigctl) is how you share one rig between WSJT-X, a logger, and a panadapter — and how the rig can live on a small computer by the radio while you operate from another room. One more moving part, and worth it the day a second program wants the VFO.
Virtual audio, the other cable
The same daemon trick exists for sound: programs that produce radio audio (an SDR receiver, a remote station, a web radio from the OpenWebRX guide) can feed WSJT-X through a virtual audio device — VB-Cable on Windows, BlackHole on macOS, a PulseAudio null sink on Linux. The lab proved the Linux shape end to end: played a −10 dB FT8 file into a null sink, recorded its monitor output, and the recording decoded at the same −10 dB (chapter 7, proof three). In WSJT-X the virtual device is then just a name in the Audio tab's Input list — the program neither knows nor cares that no wire was involved.