1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-10-31 23:17:11 -04:00
sdrangel/plugins/samplesink/testsink
2022-05-14 13:16:33 +02:00
..
CMakeLists.txt Install debug symbols on Windows for debug builds 2022-02-06 12:56:58 +00:00
readme.md Massive UI revamping (v7): spectrum documentation 2022-04-18 18:33:37 +02:00
testsinkgui.cpp v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242 2022-05-13 22:24:48 +02:00
testsinkgui.h v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242 2022-05-13 22:24:48 +02:00
testsinkgui.ui Massive UI revamping (v7): Test Sink: fixed minimum window height 2022-04-30 11:46:20 +02:00
testsinkoutput.cpp TestSink: refactored Thread to Worker object moved to thread. Equivalent to FileInput changes 2020-07-12 03:55:25 +02:00
testsinkoutput.h TestSink: refactored Thread to Worker object moved to thread. Equivalent to FileInput changes 2020-07-12 03:55:25 +02:00
testsinkplugin.cpp Updated main and plugin versions 2022-05-14 13:16:33 +02:00
testsinkplugin.h Avoid global QString init in plugins 2020-11-22 04:06:32 +01:00
testsinksettings.cpp Massive UI revamping (v7): fixed device workspace index save/restore and removed useless geometry blobs. Fixes #1207 2022-04-20 20:08:41 +02:00
testsinksettings.h Massive UI revamping (v7): fixed device workspace index save/restore and removed useless geometry blobs. Fixes #1207 2022-04-20 20:08:41 +02:00
testsinkworker.cpp removed asserts 2020-11-04 21:51:55 +01:00
testsinkworker.h TestSink: refactored Thread to Worker object moved to thread. Equivalent to FileInput changes 2020-07-12 03:55:25 +02:00

Test sink plugin

Introduction

This output sample sink plugin sends its samples to a spectrum display.

Build

The plugin is always built.

Interface

The top and bottom bars of the device window are described here

Test sink plugin GUI

1: Start/Stop

Device start / stop button.

  • Blue triangle icon: device is ready and can be started
  • Red square icon: device is running and can be stopped
  • Magenta (or pink) square icon: an error occurred

2: Output stream sample rate

This is the output stream sample rate in kS/s after interpolation (4) from the baseband stream. Thus this is the sample rate (5) multiplied by the interpolation factor (4).

3: Frequency

This is the center frequency in kHz that will be put in the file header.

4: Interpolation factor

The baseband stream is interpolated by this value before being sent to spectrum display. It can vary in powers of two from 1 (no interpolation) to 64.

5: Baseband sample rate

This is the baseband sample rate before interpolation in S/s.

Use the wheels to adjust the sample rate. Left click on a digit sets the cursor position at this digit. Right click on a digit sets all digits on the right to zero. This effectively floors value at the digit position. Wheels are moved with the mousewheel while pointing at the wheel or by selecting the wheel with the left mouse click and using the keyboard arrows. Pressing shift simultaneously moves digit by 5 and pressing control moves it by 2.

6: Spectrum display

This is the final output stream spectrum display after interpolation (4). This would be sent to the hardware device. Details on the spectrum view and controls can be found here