Control and data interface
Board control
Control port
| Parameter | Value |
|---|---|
| Address | 192.168.67.2 (FO1, factory default) |
| Port | TCP 5025 |
| Protocol | text commands, text answers |
| Clients | one at a time; a second client gets Busy |
| Error answer | a line starting with Error: |
The host libraries send these commands themselves: the SoapySDR driver on setFrequency, setGain and stream activation, the vortarian MEX (GNU Octave, MATLAB) through vortarian('cmd', ...).
Commands
| Command | Function |
|---|---|
init | Sets up clocks, converters and synchronization. Required once after power-up. Sets the default configuration: both NCOs 375 MHz, UDP ports 10700 and 10701. Restarts the timestamp counter. |
init sts | Reports whether the initialization has run. |
debug on | Starts the I/Q streams on FO1 and FO2. Both senders are enabled by one register write. |
debug off | Stops the streams. |
adc 1 nco <Hz> | NCO frequency of ADC 1 (RX A, RX B). |
adc 2 nco <Hz> | NCO frequency of ADC 2 (RX C, RX D). |
rf gain low | RF gain 0 dB, all channels. |
rf gain high | RF gain 20 dB, all channels. |
Rules
debug onbeforeinitanswersError: Board initialization has not been run.- A running stream keeps both links at 8.10 Gb/s: send
debug offwhen the capture is done. - The NCO frequency and the RF gain can be changed while the stream runs.
- An Ethernet pause frame from the host stops the stream until the next
debug on; see Host setup. - Close the control connection when done. A connection held by another program (board console, a second application) makes every other client fail with
Busy.
Sequence of a capture
init once after power-up
adc 1 nco 375000000
adc 2 nco 375000000
debug on
... receive datagrams on UDP 10700 and 10701
debug off