1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-17 13:51:47 -05:00
sdrangel/plugins/channelrx/localsink
Kacper Michajłow 70434765d7 Add support for VS2019 and Ninja
- Specify byproducts in external projects
- Use external Boost
- Remove hacky Qt detection
- Fix CRT mismatch in external projects (fixes SoapySDR on Windows)
- Minor fixes
2020-11-04 10:40:17 +01:00
..
CMakeLists.txt Add support for VS2019 and Ninja 2020-11-04 10:40:17 +01:00
localsink.cpp Channel settings feature feedback: all plugins 2020-10-27 06:16:17 +01:00
localsink.h Channel settings feature feedback: all plugins 2020-10-27 06:16:17 +01:00
localsinkbaseband.cpp LocalSink: fixed DSPSignalNotification& message passing to baseband and size sink FIFO depending on channel sample rate 2020-06-27 10:05:03 +02:00
localsinkbaseband.h LocalSink: fixed DSPSignalNotification& message passing to baseband and size sink FIFO depending on channel sample rate 2020-06-27 10:05:03 +02:00
localsinkgui.cpp Some cleanup 2020-10-14 22:10:26 +02:00
localsinkgui.h Removed dangling PluginInstanceGUI references 2020-10-05 16:30:24 +02:00
localsinkgui.ui Rx plgins: refactoring of classes (3) 2019-12-09 13:44:12 +01:00
localsinkplugin.cpp Updated version and changelogs 2020-10-06 07:41:32 +02:00
localsinkplugin.h Channel plugins: use specialized ChannelGUI superclass. Handle GUI lifecycle in MainWindow 2020-10-04 22:16:09 +02:00
localsinksettings.cpp Rx plgins: refactoring of classes (3) 2019-12-09 13:44:12 +01:00
localsinksettings.h Rx plgins: refactoring of classes (3) 2019-12-09 13:44:12 +01:00
localsinksink.cpp LocalSink: refactored LocalSinkThread to LocalSinkWorker object moved to thread. Equivalent to FileInput changes 2020-07-11 10:37:33 +02:00
localsinksink.h LocalSink: refactored LocalSinkThread to LocalSinkWorker object moved to thread. Equivalent to FileInput changes 2020-07-11 10:37:33 +02:00
localsinkwebapiadapter.cpp REST API: config: use specialized ChannelWebAPIAdapter class similar to what has been done for devices 2019-08-05 00:10:56 +02:00
localsinkwebapiadapter.h REST API: config: GET (13): corrected missing return in deserialize methods of the adapters 2019-08-05 03:42:04 +02:00
localsinkworker.cpp LocalSink: refactored LocalSinkThread to LocalSinkWorker object moved to thread. Equivalent to FileInput changes 2020-07-11 10:37:33 +02:00
localsinkworker.h LocalSink: refactored LocalSinkThread to LocalSinkWorker object moved to thread. Equivalent to FileInput changes 2020-07-11 10:37:33 +02:00
readme.md Updated changelogs and version 2019-08-24 11:52:08 +02:00

Local sink channel plugin

Introduction

This plugin sends I/Q samples from the baseband to a Local Input plugin source in another device set. It is basically the same as the Remote Sink channel plugin but pipes the samples internally instead of sending them over the network.

It may be used when you want to "zoom in" a particular area of the baseband. For example you would like to receive both the SSB section and the repeater section of the amateur 2m band (Region 1) using a single Rx device for example the RTL-SDR. You would then run the RTL-SDR at 2.4 MS/s without decimation. This provides a 2.4 MHz bandwidth that when centered on 145 MHz spans more than the entire 2m band (Region 1).

You can then use a Local Sink decimating by 8 and centered on 144.250 MHz (Position code 2, filter chain code LLH) thus spanning 300 kHz from 144.150 to 144.400 MHz. You can use another Local Sink decimating by 4 and centered on 145.600 MHz (Position code 7, filter chain code HC) thus spanning 600 kHz from 145.300 to 145.900 MHz and including the entire repeater band.

These Local Sinks can then be coupled with two Local Input device source plugins in two different device sets. In these device sets you will get a better view of the respective sub bands.

Note that because it uses only the channelizer half band filter chain to achieve decimation and center frequency shift you have a limited choice on the center frequencies that may be used (similarly to the Remote Sink). The available center frequencies depend on the baseband sample rate, the channel decimation and the filter chain that is used so you have to play with these parameters to obtain a suitable center frequency and pass band.

⚠ Important warning When closing the application or before closing the local input device the local sink is connected to you have to stop the device where the local sink operates. This is because there is no reverse link for the local input to notify the local sink that it closes. Therefore closing the local input while the local sink runs will crash the program.

Interface

Local sink channel plugin GUI

1: Decimation factor

The device baseband can be decimated in the channel and its center can be selected with (5). The resulting sample rate of the I/Q stream sent over the network is the baseband sample rate divided by this value. The value is displayed in (2).

2: I/Q stream sample rate

This is the sample rate in kS/s of the I/Q stream sent to the Local Input source instance.

3: Half-band filters chain sequence

This string represents the sequence of half-band filters used in the decimation from device baseband to resulting I/Q stream. Each character represents a filter type:

  • L: lower half-band
  • H: higher half-band
  • C: centered

4: Center frequency shift

This is the shift of the channel center frequency from the device center frequency. Its value is driven by the device sample rate , the decimation (1) and the filter chain sequence (5).

5: Half-band filter chain sequence

The slider moves the channel center frequency roughly from the lower to the higher frequency in the device baseband. The number on the right represents the filter sequence as the decimal value of a base 3 number. Each base 3 digit represents the filter type and its sequence from MSB to LSB in the filter chain:

  • 0: lower half-band
  • 1: centered
  • 2: higher half-band

6: Local Input source index

This selects the index of the Local Input source where to send the I/Q samples. The list can be refreshed with the next button (7)

7: Refresh local input devices list

Use this button to refresh the list of Local Input sources indexes.