-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feeding multiple traces to scope #872
Comments
Yes similar but not exactly the same. #16 is for a channel analyzer that would accept a MIMO (MI that is) baseband thus being fed by multiple synchronous I/Q streams. Of course to make it really useful one would have to be able to combine traces from different inputs in the scope. So in fact this one would be a prerequisite for #16 |
The scope component being rather sensitive and brittle I'd rather make it a new multiscope component possibly carrying out some redesign. The scope is one of the oldest components and has probably accumulated a good amount of technical debt. |
For the scope part this is to be covered by #898 |
See https://github.com/f4exb/sdrangel/releases/tag/v6.14.0 for details |
Great, thanks. Will give it a try. |
Just giving this a try. During initialisation, I call: m_scopeSink->setNbStreams(2); Then in the channel in sampleToScope(), I have:
But this results in a "vector subscript out of range" exception in: with streamIndex=1 Is there something else I need to add / change? |
This should work. From the screenshot it seems initialization is not complete when Edit: this loop https://github.com/f4exb/sdrangel/blob/master/sdrbase/dsp/scopevis.h#L610 is missing in |
Thanks - it no longer crashes. However, I only see 0 in the "trace stream source" combo box. How should this be initialised? It would obviously be nice to initialise it with names corresponding to what each stream is. Looking through glscopegui.cpp, I can't see anything that adds items to ui->traceStream, and Ui::GLScopeGUI* ui; is private, so I don't know how to access it from the ChannelGUI to add items. (E.g. ui->scopeGUI->ui->traceStream->addItem("Therehsold"); doesn't compiler) |
Two new methods in
|
I'm not sure if you missed the comments in PR #939, but as you didn't reopen the bug, I thought I'd mention it again. It seems multiple streams do not work for the Radio Clock plugin. I just see 0s on the scope. (A single stream is fine). |
Hi,
I'm trying to use the scope to help debug a demodulator. This is pretty good at displaying two signals from the demod, but it would be helpful if it could display more than 2 simultaneously (I've set up 15 different signals to probe, but not all need to be visible simultaneously).
Currently, I have combo boxes that select the different signals to send to the scope on the real and imag parts of the input. I've tried embedding two scopes, for 4 signals, but the triggering isn't synchronised, and so they get out of sync (unless only start/stop acquisition is used)
It seems the scope can display more than 2 traces in the waveform display, but these only come from one IQ input, as far as I can see? Is there a way to support more input channels?
This is perhaps similar to #16
The text was updated successfully, but these errors were encountered: