1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-03 23:41:16 -05:00
sdrangel/plugins/samplesource/airspyhf
2023-01-02 15:49:20 +00:00
..
airspyhfgui.cpp Add DialogPositioner to ensure dialogs are fully on screen and remain on 2022-12-20 10:31:15 +00:00
airspyhfgui.h Device GUIs: Constain window size via minimumSize/maximumSize, rather than handling resizeEvent. Add maximum button. Hide size buttons when window size is fixed 2022-11-09 15:53:44 +00:00
airspyhfgui.ui Massive UI revamping (v7): fixed devices .ui files to correct display wwhen creating device. Part of #1209 2022-04-27 02:06:17 +02:00
airspyhfinput.cpp On Android, list USB devices by VID/PID and open using file descriptor. 2022-12-22 11:04:12 +00:00
airspyhfinput.h AirspyHF: Make settings assignments atomic. Part of #1329 2022-10-22 11:26:13 +02:00
airspyhfplugin.cpp On Android, list USB devices by VID/PID and open using file descriptor. 2022-12-22 11:04:12 +00:00
airspyhfplugin.h Avoid global QString init in plugins 2020-11-22 04:06:32 +01:00
airspyhfsettings.cpp AirspyHF: Make settings assignments atomic. Part of #1329 2022-10-22 11:26:13 +02:00
airspyhfsettings.h AirspyHF: Make settings assignments atomic. Part of #1329 2022-10-22 11:26:13 +02:00
airspyhfwebapiadapter.cpp Fixed -Wunused-parameter warnings 2020-11-14 11:13:32 +01:00
airspyhfwebapiadapter.h REST API: config: GET (11). Support of the rest of devices 2019-08-04 20:24:44 +02:00
airspyhfworker.cpp AirspyHF: Remove unused variables 2022-09-21 21:06:35 +01:00
airspyhfworker.h AirspyHF: Remove unused variables 2022-09-21 21:06:35 +01:00
CMakeLists.txt Add libusb for Android 2023-01-02 15:49:20 +00:00
readme.md Massive UI revamping (v7): implemented device common settings from top bar and added documentation on device windows top and bottom bars 2022-04-17 01:31:50 +02:00

AirspyHF input plugin

Introduction

This input sample source plugin gets its samples from a Airspy HF+ device.

Build

The plugin will be built only if the Airspy HF library is installed in your system.

If you build it from source and install it in a custom location say: /opt/install/libairspyhf you will have to add -DAIRSPYHF_DIR=/opt/install/libairspyhf to the cmake command line.

Note: if you use binary distributions this is included in the bundle.

Interface

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

For controls 10 to 13 to be effective you will need a recent version (up to date in January 2019) of both libairspy and the firmware.

AirspyHF input plugin GUI

1: Common stream parameters

Remote source input stream GUI

1.1: Frequency

This is the center frequency of reception in kHz.

1.2: Start/Stop

Device start / stop button.

  • Blue triangle icon: device is ready and can be started
  • Green square icon: device is running and can be stopped
  • Magenta (or pink) square icon: an error occurred. In the case the device was accidentally disconnected you may click on the icon, plug back in and start again.

1.4: Stream sample rate

Baseband I/Q sample rate in kS/s. This is the device to host sample rate (3) divided by the decimation factor (4).

2: Lo ppm correction

This is the correction factor in ppm applied to the local oscillator. The Airspy HF LO has 1 kHz increments so anything in between is obtained by mixing the signal with a software NCO. This is actually done in the AirspyHF library when DSP is on (13).

You can reset the ppm value anytime by pressing on button (3)

3: Reset LO ppm correction

This resets the LO ppm correction (zero the value).

4: Internal DC correction

Internal SDRangel DC correction. This is useless if libairspy DSP is engaged (13)

5: Internal IQ imbalance correction

Internal SDRangel IQ imbalance correction. This is useless if libairspy DSP is engaged (13)

6: Band select

Use this combo box to select the HF or VHF range. This will set the limits of the frequency dial (1.1) appropriately and possibly move the current frequency inside the limits. Limits are given by the AirspyHF+ specifications:

  • HF: 9 kHz to 31 MHz
  • VHF: 60 to 260 MHz

7: Device to host sample rate

This is the device to host sample rate in kilo samples per second (kS/s).

Although the combo box is there to present a choice of sample rates at present the AirspyHF+ deals only with 768 kS/s. However the support library has provision to get a list of sample rates from the device in case of future developments.

8: Decimation factor

The I/Q stream from the AirspyHF to host is downsampled by a power of two before being sent to the passband. Possible values are increasing powers of two: 1 (no decimation), 2, 4, 8, 16, 32, 64, 128, 256. When using audio channel plugins (AM, DSD, NFM, SSB...) please make sure that the sample rate is not less than the audio sample rate.

9: Transverter mode open dialog

This button opens a dialog to set the transverter mode frequency translation options. The details about this dialog can be found here

10: AGC mode

This appears to work only on HF band.

  • Off: no AGC
  • Low: AGC with low threshold
  • High: AGC with high threshold

11: LNA

This appears to work only on HF band. Turns on or off the LNA (+6dB). Gain is compensated in software.

12: Attenuator

This appears to work only on HF band and is active only if AGC is off (10). Attenuator value can be set from 0 to 48 dB in 6 dB steps.

13: LibaispyHF DSP

Turns on or off the libairspyhf DSP routines. When on the internal DC and IQ imbalance corrections (4) and (5) are useless and should be turned off.