Documentation chapters

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
  1. Set up the host: Host setup.
  2. Build and install SoapyVortarian: SoapySDR driver.
  3. Copy vortarian_source.block.yml to ~/.grc_gnuradio/ and restart GNU Radio Companion. The block Vortarian Source appears in the category Vortarian.

Vortarian Source block

ParameterDefaultMeaning
Device argumentshost=192.168.67.2,port0=10700,port1=10701arguments of the driver
Sample Rate125e6fixed by the board
ADC 1 NCO Frequency375e6RX A and RX B; adjustable while running
ADC 2 NCO Frequency375e6RX C and RX D; adjustable while running
RF Gain00 or 20 dB, all channels; adjustable while running
PortTypeContent
out0 to out3complex floatRX A to RX D, 1.0 = full scale
cmdmessage, optionalcommands 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 it debug off.

Example flowgraphs

FileContent
vortarian_first_steps.grcfour spectra in one frequency sink, waterfall of RX A, NCO slider 250 to 500 MHz
vortarian_waterfall.grcfrequency sink and waterfall sink per channel, RF gain chooser
vortarian_waveform.grctriggered time sink per channel, sliders for scale, trigger level and delay
GNU Radio Companion flowgraph: Vortarian Source with four outputs connected to a frequency sink, the first output also to a waterfall sink

vortarian_first_steps.grc in GNU Radio Companion.

Running flowgraph: spectra of RX A to RX D from 312.5 to 437.5 MHz and a waterfall of RX A

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

SinkSettings
QT GUI Frequency SinkFFT size 1024, window Blackman-harris, centre frequency = NCO, bandwidth 125e6, Y range −120 to 0 dBFS
QT GUI Waterfall SinkFFT size 1024, window Blackman-harris, update period 0.01 s, intensity −120 to −40 dB
QT GUI Time Sink1024 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

PropertyValue
Samples per FFT1024 = 8.19 µs
FFTs per update period1; the samples in between are discarded
Share of the signal shown, update period 0.1 s0.008 %
Average of the frequency sinkexponential 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

FlowgraphResult on the test host (6-core AMD Ryzen 5 3600, no graphics acceleration)
Four channels into null sinks4 × 125 MS/s, no overflow in 10 minutes
Frequency and waterfall sinks4 × 125 MS/s; a few overflows at start
Four triggered time sinksoverflows; each trace is still contiguous

Troubleshooting

SymptomCause and remedy
Console fills with sOThe 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 sOGNU 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 emptyNo datagrams: MTU 9000, addresses, UDP ports 10700 and 10701 free.
Busy at startAnother client holds the control port.
Stream stops after about 280 datagramsEthernet pause frames are on.