How-to
GNU Radio
GNU Radio receives the four channels through the SoapySDR driver. Block definition and flowgraphs: host-tools/gnuradio. Tested on Ubuntu 26.04 with GNU Radio 3.10.12 and SoapySDR 0.8.1.
Installation
sudo apt install gnuradio libsoapysdr-dev soapysdr-tools python3-soapysdr cmake g++ git
- Set up the host: Host setup.
- Build and install SoapyVortarian: SoapySDR driver.
- Copy
vortarian_source.block.ymlto~/.grc_gnuradio/and restart GNU Radio Companion. The block Vortarian Source appears in the category Vortarian.
Vortarian Source block
| Parameter | Default | Meaning |
|---|---|---|
| Device arguments | host=192.168.67.2,port0=10700,port1=10701 | arguments of the driver |
| Sample Rate | 125e6 | fixed by the board |
| ADC 1 NCO Frequency | 375e6 | RX A and RX B; adjustable while running |
| ADC 2 NCO Frequency | 375e6 | RX C and RX D; adjustable while running |
| RF Gain | 0 | 0 or 20 dB, all channels; adjustable while running |
| Port | Type | Content |
|---|---|---|
out0 to out3 | complex float | RX A to RX D, 1.0 = full scale |
cmd | message, optional | commands of the Soapy source |
- Every output must be connected, otherwise GNU Radio Companion does not generate the flowgraph.
- No Throttle block: the board sets the rate.
- Starting the flowgraph sends
debug on, closing itdebug off.
Example flowgraphs
| File | Content |
|---|---|
vortarian_first_steps.grc | four spectra in one frequency sink, waterfall of RX A, NCO slider 250 to 500 MHz |
vortarian_waterfall.grc | frequency sink and waterfall sink per channel, RF gain chooser |
vortarian_waveform.grc | triggered time sink per channel, sliders for scale, trigger level and delay |
vortarian_first_steps.grc in GNU Radio Companion.
NCO 375 MHz, RF gain 0 dB, antennas on RX A and RX B. Noise floors of the four channels at about −110 dBFS per bin (1024-point FFT, averaged).
Sink settings
| Sink | Settings |
|---|---|
| QT GUI Frequency Sink | FFT size 1024, window Blackman-harris, centre frequency = NCO, bandwidth 125e6, Y range −120 to 0 dBFS |
| QT GUI Waterfall Sink | FFT size 1024, window Blackman-harris, update period 0.01 s, intensity −120 to −40 dB |
| QT GUI Time Sink | 1024 points (8.19 µs), trigger mode Normal, slope positive, level 0.01 (−40 dBFS), delay 4e-6 s |
The frequency axes show the intermediate frequency at the board input: centre = NCO frequency, span 125 MHz.
What the QT GUI sinks display
| Property | Value |
|---|---|
| Samples per FFT | 1024 = 8.19 µs |
| FFTs per update period | 1; the samples in between are discarded |
| Share of the signal shown, update period 0.1 s | 0.008 % |
Average of the frequency sink | exponential average over the computed FFTs only |
A burst appears only when one of the 8.19 µs windows hits it. To process every sample, use your own blocks, or capture a contiguous block as in GNU Octave or MATLAB.
Each time sink triggers on its own input: the traces of four time sinks are not taken at the same instant.
Performance
| Flowgraph | Result on the test host (6-core AMD Ryzen 5 3600, no graphics acceleration) |
|---|---|
| Four channels into null sinks | 4 × 125 MS/s, no overflow in 10 minutes |
| Frequency and waterfall sinks | 4 × 125 MS/s; a few overflows at start |
| Four triggered time sinks | overflows; each trace is still contiguous |
Troubleshooting
| Symptom | Cause and remedy |
|---|---|
Console fills with sO | The application reads too slowly; the driver reports SOAPY_SDR_OVERFLOW. Fewer or slower displays, longer update period, check Host setup. A few sO at start are normal. |
GNU Radio Companion stops responding after many sO | GNU Radio 3.10 issue #8073. Set Run Command in the Options block to /bin/sh -c 'exec {python} -u {filename} >/dev/null 2>&1', or run the generated script in a terminal. |
| Plots stay empty | No datagrams: MTU 9000, addresses, UDP ports 10700 and 10701 free. |
Busy at start | Another client holds the control port. |
| Stream stops after about 280 datagrams | Ethernet pause frames are on. |