Skip to content

About

Compare two WSJT-X receive setups with live capture, offline HTML reports, and CSV exports.

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

WsjtxUtils.Compare

Compare what two WSJT-X receive setups hear under the same conditions. Use it to test antennas, filters, gain settings, audio paths, receivers, or decoders. Run the interactive terminal dashboard or capture unattended, then inspect the offline report or analyze the CSV.

Quick start · Read the report · Unattended capture · Troubleshooting

Example 40 m FT8 report showing 66,855 shared decodes, 8,157 decodes unique to Setup A, 6,036 unique to Setup B, and a median paired SNR difference of +1 dB for Setup B.

Example from a 7-hour 54-minute live 40 m FT8 capture. Setup B had the higher median receive SNR on shared decodes, while Setup A decoded more transmissions overall.

Quick start

1. Install and open Compare

This update is the first release candidate for the revived project. The packaging workflow builds the seven self-contained archives below. You can download them from a successful GitHub Actions run or from Assets once the candidate is published as a GitHub prerelease. You can also build from source with the .NET 10 SDK.

The packages include the .NET runtime and a sample configuration. Linux still needs the native .NET prerequisites. Extract the archive and open a terminal in the extracted folder.

Platform Archive
Windows x64 wsjtxutils-compare-win-x64.zip
Windows Arm64 wsjtxutils-compare-win-arm64.zip
macOS with Apple silicon wsjtxutils-compare-osx-arm64.tar.gz
macOS with Intel wsjtxutils-compare-osx-x64.tar.gz
Linux x64 wsjtxutils-compare-linux-x64.tar.gz
64-bit Raspberry Pi OS or other Arm64 Linux wsjtxutils-compare-linux-arm64.tar.gz
32-bit Raspberry Pi OS on Armv7 or newer hardware wsjtxutils-compare-linux-arm.tar.gz

On Raspberry Pi OS, run getconf LONG_BIT to check whether you installed the 32-bit or 64-bit OS. The Armv7 archive is cross-built and checked for ELF architecture in CI. The Arm64 archive also runs the tests, report replay, and a short capture on an Arm64 Linux runner.

Platform Command
macOS or Linux ./WsjtxUtils.Compare.Console tui
Windows PowerShell .\WsjtxUtils.Compare.Console.exe tui
From source dotnet run --project src/WsjtxUtils.Compare.Console -- tui

Press F4 for help in the TUI. Tab moves between controls and Enter activates them. Use F1 for Setup, F2 for Live, and F3 for Sessions.

2. Connect both WSJT-X instances

  1. Give the instances distinct client IDs. You can use a different --rig-name for each instance. WSJT-X user guide
  2. In each instance, open Settings → Reporting → UDP Server. If both clients are on the capture computer, use 127.0.0.1 and port 2237 in WSJT-X and Compare. If they are on another computer, use the capture computer’s LAN IP and the same port.
  3. In Compare, choose Detect, then assign the clients with Use for A and Use for B. Give the setups descriptive labels. Keep Monitor on and Enable Tx off, and match both clients’ dial frequency, mode, submode, and period.

3. Capture and open the report

Choose Start capture when both receivers are ready. Leave Duration blank to stop manually, or enter a time such as 02:00:00. The Live view shows comparable listening time, gaps, and the last journal write.

Choose Stop & report, or let the timer finish. In Sessions, choose Open report for the HTML or Open folder for the CSV and journal. Use Save profile in Setup to keep your settings for the next run.

Read the report

Question Where to look
Which setup decoded more transmissions? Finding shows shared and exclusive decodes. Use comparable listening time to compare counts across runs of different lengths.
Which setup reported higher SNR on shared signals? Median paired SNR shows B − A. Positive values favor setup B on those pairs.
Did the receivers stay comparable? Time shows tuning changes, receiver status, and interruption gaps. Select a UTC range to update the finding, SNR histogram, and station results.
Was the difference tied to audio frequency or parts of the session? Diagnostics shows passband coverage, decode overlap, and paired timing and frequency differences.
Where did the reception differ? Direction & stations shows bearing, distance, and station details when decoded grids are available.

Where reception differed during this 40 m FT8 run

Bearing and distance charts for the example run. The northeast sector and the 6,000 km and longer distance bin favor Setup A.

Setup B led by 1 dB overall on shared signals. Toward the northeast, Setup A led by 4 dB across 8,835 eligible pairs. Setup A also led by 3 dB in the 6,000 km and longer distance bin. The distance chart shows each bin’s median and the middle 80% of its observed SNR differences.

The geographic plots use receptions with usable grid data. This run had usable paths for 48,445 of 81,048 counted receptions.

Make the next run useful

Start with the same audio feeding both decoders to see their normal disagreement. Then change one thing and record it in the comparison notes. Where practical, swap the items under test between receiver chains and repeat. The direction of B − A follows the A/B labels for each run, so check the assignments when reading a swap test.

Unattended capture and replay

Use the command-line mode for unattended captures. Configure config.json beside the executable or pass the receiver IDs as options.

./WsjtxUtils.Compare.Console --CaptureDuration=02:00:00 \
  '--ReceiverA:Id=WSJT-X - A' '--ReceiverB:Id=WSJT-X - B'

Capture checks the UDP listener and output folder before creating a session. Run check with the same options to test both ahead of time.

./WsjtxUtils.Compare.Console check --Server:Port=2237 --OutputDirectory=./sessions

The timer starts when the listener is ready. At the deadline, Compare drains accepted packets, closes the journal, and generates the report. Ctrl+C ends capture early. A second Ctrl+C cancels report generation, and the journal can still be rebuilt.

./WsjtxUtils.Compare.Console report sessions/<session-directory>
./WsjtxUtils.Compare.Console compare runs.html sessions/<first-run> sessions/<repeat-run>

report can also apply overrides such as --StationGrid=FN20 or --ComparisonNotes="Changed the filter". compare uses the original capture settings and flags a linked report if its analysis settings differ or cannot be verified. Use --help for options.

Output files

File Purpose
report.html Interactive offline report with a link to download the analysis CSV.
receptions-v1.csv One row per counted reception. Group by session and tuning, count Outcome, and take the median of SnrDeltaDb where UsedForPairedSnr is true.
observations.jsonl Recorded WSJT-X events and capture settings. Keep it to rebuild reports. Review it before sharing because it includes sender network endpoints.

Compare requires matching supported receive status for the full transmission slot. By default, flagged shared decodes count toward coverage and are excluded from paired SNR. Compare can show what each receiver reported. WSJT-X does not report whether Monitor was on or which signals both receivers missed. See the analysis reference for matching rules, settings, and CSV fields.

Troubleshooting

Symptom What to check
Detect shows no clients Check the destination, UDP port, listener address, and firewall. For a LAN setup, use the capture computer’s LAN IP.
Both clients appear, but Setup says to wait Check tuning, transmit state, and distinct IDs. If a client has gone stale, change and restore its tuning to send fresh status.
Listener or output check fails If another process has the UDP port, stop that listener or choose a new port and update both WSJT-X clients. If the output folder fails, check permissions and free space.
Live shows stale traffic or no recent decodes Stale traffic means the receiver has stopped sending packets. Waiting for fresh status means traffic arrived without tuning status. No recent decodes means the receiver is still sending packets with known receive tuning.
Live shows endpoint conflicts Check that each WSJT-X instance has a unique UDP ID. Conflicts are counted among rejected packets and listed under Capture quality in completed reports.
One side has many more exclusive decodes Check packet age, audio routing, tuning, and low-confidence settings. Use a same-audio baseline to see how much disagreement the decoders normally show.
No direction or distance data Set the local Maidenhead grid if needed. The report also needs remote grids from decoded messages.
A capture ended without a report Choose Rebuild in Sessions, or run report on the session directory.

Completed captures record UDP diagnostics in Capture quality. Accepted packets include heartbeat and status messages as well as decodes. Rejected packets include unreadable messages, unconfigured IDs, and endpoint conflicts. These counters cover packets observed by Compare.

Build and verify

Use the SDK selected by global.json:

dotnet build WsjtxUtils.Compare.sln -c Release -warnaserror
dotnet test WsjtxUtils.Compare.sln -c Release -warnaserror

The report checks format the source assets, reconcile CSV totals against a deterministic capture, and exercise the report in Chromium:

cd tests/report
npm ci
npm run format
npx playwright install chromium
npm test

Contributing

See the contribution guide to build, test, or submit a change. Report suspected vulnerabilities through the security policy.

License

MIT

About

Compare two WSJT-X receive setups with live capture, offline HTML reports, and CSV exports.

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages