.. | ||
CMakeLists.txt | ||
readme.md | ||
testsinkgui.cpp | ||
testsinkgui.h | ||
testsinkgui.ui | ||
testsinkoutput.cpp | ||
testsinkoutput.h | ||
testsinkplugin.cpp | ||
testsinkplugin.h | ||
testsinksettings.cpp | ||
testsinksettings.h | ||
testsinkthread.cpp | ||
testsinkthread.h |
Test sink plugin
Introduction
This output sample sink plugin sends its samples to a spectrum display.
Build
The plugin is always built.
Interface
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. Controls on the bottom of the panel are identical to the ones of the main spectrum display.