Robin Getz
2e2ab728e7
Add asynchronous device error messages to DSP engines
...
Add DSPAcquisitionError and DSPGenerationError messages to provide a
standard mechanism for SDRangel devices to report asynchronous errors
to their DSP device engines.
These errors occur after normal device initialization or startup and are
not the result of a synchronous start or configuration operation. They
cover conditions such as a device being unplugged or disconnected, a
device becoming unavailable, or an error occurring while acquiring or
generating samples.
Handle DSPAcquisitionError in the DSPDeviceSourceEngine and the
acquisition side of DSPDeviceMIMOEngine, and handle DSPGenerationError
in the DSPDeviceSinkEngine and the generation side of
DSPDeviceMIMOEngine. Transition the affected device engine to the error
state and propagate the device-provided error message.
This allows asynchronous failures in a sample source, sample sink, or
MIMO device to be propagated through the SDRangel device engine state
machine instead of leaving the device engine running after the device
has become unavailable or encountered an unrecoverable error.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
3 months ago
srcejon
a91fa3b760
Don't stop source if being deleted. For #2315 . Send DSPSignalNotification in audio mods for #2336 .
2 years ago
srcejon
78d0160514
MainWindow: Add FSMs to avoid blocking on the GUI thread.
...
DSPDevice*Engine: Add signals to indicate when commands have been processed.
DSPDeviceSourceEngine: Fix small memory leak.
DSPEngine::removeDeviceEngineAt: Remove wait to avoid blocking thread. Return QThread to get finished signal.
DSPEngine::addDevice*Engine: Don't call deleteLater for device*Engine, as these objects are deleted manually in MainWindow, which will crash if deleteLater called first.
2 years ago
f4exb
b85419c56a
Sonar fixes
2 years ago
f4exb
290023183c
Fixed threading model for DSPDeviceMIMOEngine plus other fixes. Part of #2159
2 years ago
f4exb
d2066495a9
Fixed threading model for DSPDeviceSourceEngine. Part of #2159
2 years ago
f4exb
9fa1974ba3
Removed SyncMessenger from DSPDeviceSourceEngine. Part of #2159
2 years ago
Daniele Forsi
8c3f7e3775
Remove unused includes and use more direct includes
3 years ago
f4exb
439b5d094c
Rewriting of copyright notices for sdrbase. Part of #1893
3 years ago
f4exb
107583759f
Audio CAT SISO: implement real else complex indicator
3 years ago
f4exb
12deb59bf4
Fixed possible sample device pointer not set yet when DSPMIMOSignalNotification message arrives. Fixes #1529
4 years ago
Jon Beniston
d404e9f943
Add start/stop all devices button in toolbar. Add device stateChanged signal. Use in RTL SDR GUI for updating device state
4 years ago
f4exb
634b25ac1e
Channel API rework: make it inherit from QObject and removed QObject inheritance from DSP interfaces. Fixes #1147
5 years ago
f4exb
41061de50b
ChannelAPI rework: make handleMessage method protected
5 years ago
f4exb
73abde7666
Removed old DownChannelizer
7 years ago
f4exb
1359aac9b6
Removed ThreadedBasebandSampleSink
7 years ago
f4exb
d6382fbbaa
Device engines: stop device before channels when going idle
7 years ago
f4exb
75ee688ac2
MIMO: implemented add/remove MIMO device set in main GUI
8 years ago
f4exb
fc49bd2855
ixed incomplete copyright headers (3): sdrbase
8 years ago
f4exb
680c584fe0
Device engines: unified some debug messages
8 years ago
f4exb
31c3b11194
DSP source enging DC and IQ correction: reset averages when changing settings
9 years ago
f4exb
e9c8dad663
Fixed DSP device source/sink run command
9 years ago
f4exb
e8537d6582
Web API and related: fixed memory leaks and some malfunctions
9 years ago
f4exb
4b2dfd488e
IQ imbalance fix: the I branch has to remain the reference
9 years ago
f4exb
1efc509296
DC and IQ correction: added a defiend out integer version (no advantage over floating point)
9 years ago
f4exb
b9b2c41ba2
IQ correction with phase imbalance: floating point implementation
9 years ago
f4exb
be049374ad
Improved DC offset correction
9 years ago
f4exb
a78997b5e7
24 bit DSP build: corrected IQ imbalance calculation for any sample size
9 years ago
f4exb
5a594629b3
Use FixReal in place of qint16
9 years ago
f4exb
36b3137a48
DSP device source/sink engines: reworked add source sequence of actions
9 years ago
f4exb
b731ff851a
Renamed some DSP messages to make them more explicit
9 years ago
f4exb
49d1439981
Device source plugins: implemented an init method for initializations to be done when all collaborating objects are created and possibly connected
9 years ago
f4exb
53daaa5b0c
Tentative fix for possible lockup of mutex at DSPDevieSourceEngine thread exit
9 years ago
f4exb
512900d98c
Finalized the new source/sink GUI messaging scheme
9 years ago
f4exb
dc45452a76
Make the DSP source engine forward messages to own source input GUI message queue. Example of handling with SDRplay
9 years ago
f4exb
3a3d8e3dcb
activated compiler warnings
10 years ago
f4exb
b8623c90ce
Refactoring: removed device parameter from all start() methods in sample source plugins
10 years ago
f4exb
f719ced17f
Device source engine: initialize sample rate and center frequency in the sink when adding a threaded sample sink
10 years ago
f4exb
85807ffadb
SDRPlay plugin: now working with open source libmirisdr
10 years ago
f4exb
940cfbe94e
DSPDeviceSourceEngine: stop threaded baseband sample sinks
10 years ago
f4exb
0f7ac00a71
Tx ph.1: Added the DSPDeviceSinkEngine class
10 years ago
f4exb
5168fbf416
RxTx semantic move: updated debug message and displayed class names
10 years ago
f4exb
36aeaa3ea5
RxTx semantic move: renamed SampleFifo to SampleSinkFifo
10 years ago
f4exb
9a24a1a99f
RxTx semantic move: renaming attributes (1). Corrected Star UML model
10 years ago
f4exb
e204efe2b8
RxTx semantic move: renamed DSPDeviceEngine to DSPDeviceSourceEngine
10 years ago
f4exb
dce0ace4ef
RxTx semantic move: renamed ThreadedSampleSink to ThreadedBasebandSampleSink
10 years ago
f4exb
7a535cc3b8
RxTx semantic move: renamed SampleSource to DeviceSampleSource
10 years ago
f4exb
78513854ac
RxTx semantic move: renamed SampleSink to BasebandSampleSink
10 years ago
f4exb
20c6fb19cc
RxTx semantic move: renamed Channelizer to DownChannelizer
10 years ago
f4exb
e935716568
Multi device support: fixed core dump (seg fault) brutally by commenting out failing instruction (disconnect)
11 years ago