1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-26 12:04:13 -04:00
Commit Graph

33 Commits

Author SHA1 Message Date
Robin Getz 72d612d986 plutosdr: Update RX gain limits dynamically from hardware
Query the PlutoSDR hardware for the current RX gain range and use it
to configure the GUI gain control dynamically.

The AD936x gain limits vary with LO frequency. Previously the GUI used
a fixed gain range, allowing users to select values that the hardware
would reject after changing bands. The gain slider now refreshes its
minimum, maximum, and step size whenever the device center frequency is
updated.

Also change the gain setting serialization to use a signed integer so
negative gain values are preserved for operating modes that support
them.

Changes include:
- Add DevicePlutoSDRBox::getGainRange() to read
  in_voltage0_hardwaregain_available.
- Expose gain range through PlutoSDRInput.
- Refresh GUI gain limits when the device frequency changes.
- Avoid unnecessary widget updates when limits are unchanged.
- Store/restore gain as a signed value.
- Add default RX gain limit constants for fallback when the device
  cannot provide its range.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-19 17:48:53 -04:00
f4exb b6c4d10b62 Rewriting of copyright notices for plugins/samplesource. Part of #1893 2023-11-18 10:07:41 +01:00
Jon Beniston ee8b8ade88 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
f4exb 94a465b210 PlutoSDR input: Make settings assignments atomic. Part of #1329 2022-10-24 00:57:41 +02:00
f4exb 9e5c629473 v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242 2022-05-13 22:24:48 +02:00
f4exb 90d331675a Massive UI revamping (v7): fixed widget size handling: sample sources. Part ofs #1209 2022-04-21 07:53:36 +02:00
f4exb 249db03cf3 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
f4exb aad90aeabc Massive UI revamping (v7): devices basic 2022-04-07 16:32:03 +02:00
f4exb 841a8fe242 Morph PluginInstanceGUI in DeviceGUI and single line inheritance from QWidget 2020-10-05 19:48:05 +02:00
f4exb d3d506a5ae Removed handleMessage virtual method from PluginInstanceGUI 2020-10-04 22:16:09 +02:00
f4exb d085b4eb7d Removed undesirable methods from PluginInstanceGUI and related common plugins 2020-10-04 22:16:09 +02:00
f4exb e6e7ece46c Removed file recording function from device plugins 2020-08-09 00:47:06 +02:00
f4exb bbe4605258 Samplesources GUI file record: right click to choose file 2020-04-02 05:00:43 +02:00
f4exb 1255784b7f PlutoSDR input: implement control of hardware DC and IQ corrections 2019-07-25 13:57:24 +02:00
f4exb 2f3418487d PlutoSDR input: implemented baseband or device sample rate input option 2019-04-13 22:16:08 +02:00
f4exb 4bb0f4f51a Fixed incomplete copyright headers (2): plugins/samplesource 2019-04-11 06:57:41 +02:00
f4exb fc3f6d1711 Reverse API: PlutoSDR input 2018-12-26 16:39:48 +01:00
f4exb 3e31a8b23b Server: added PlutoSDR input plugin 2018-05-29 20:27:36 +02:00
f4exb c3de895301 Removed direct reference to the DeviceSinkAPI in the sink GUIs. Removed DeviceSourceAPI forward declaration in source GUI headers 2017-10-30 02:54:22 +01:00
f4exb da3e6dcdfb Removed direct reference to the DeviceSourceAPI in the source GUIs 2017-10-30 00:45:23 +01:00
f4exb e520ef5aeb Removed GLSpectrum getter from DeviceSourceAPI 2017-10-30 00:02:28 +01:00
f4exb 0b6eb2129a Reset PluginInstanceGUI to its original name 2017-09-26 00:22:08 +02:00
f4exb 24413bfb7d PlutoSDR input: implemented transverter feature 2017-09-24 13:03:08 +02:00
f4exb 31ad75a405 Make the DSP source engine forward messages to own source input GUI message queue. Implementation in all sources 2017-09-17 01:23:54 +02:00
f4exb 2b4f8a0f55 Implemented GUI input message queue and interface 2017-09-16 22:23:31 +02:00
f4exb a088f2d30e PlutoSDR input: set FIR bandwidth limits and sample rate limits dynamically 2017-09-10 19:37:23 +02:00
f4exb aa047c77cc PluoSDR: debug (1) 2017-09-09 03:09:17 +02:00
f4exb b957c35493 PlutoSDR input: refactored GUI 2017-09-05 08:48:09 +02:00
f4exb cf39ea548b PlutoSDR input: removed FileRecord references from the GUI 2017-09-05 00:49:59 +02:00
f4exb 3eb768c856 PlutoSDR input: added UI form 2017-09-04 08:39:51 +02:00
f4exb a6d6a717ae GUI segregation: renamed PluginGUI interface to PluginInstanceUI 2017-09-03 19:55:00 +02:00
f4exb e281d8fd32 GUI segregation: de-tangle PluginGUI interface from QWidget 2017-09-03 17:26:32 +02:00
f4exb f0de558fd9 PlutoSDR: very basic PlutoSDR input plugin 2017-09-02 05:39:55 +02:00