diff --git a/sdrbase/dsp/scopevis.cpp b/sdrbase/dsp/scopevis.cpp index 636452dac..d69297bac 100644 --- a/sdrbase/dsp/scopevis.cpp +++ b/sdrbase/dsp/scopevis.cpp @@ -609,7 +609,7 @@ void ScopeVis::processTrace(const std::vector& vc } uint32_t triggerStreamIndex = triggerCondition->m_triggerData.m_streamIndex; - const Complex& s = *vbegin[triggerStreamIndex]; + const Complex& s = vbegin[triggerStreamIndex][processed]; if (m_triggerComparator.triggered(s, *triggerCondition)) // matched the current trigger {