SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <scopevis.h>
Classes | |
class | MsgConfigureScopeVisNG |
class | MsgScopeVisNGAddTrace |
class | MsgScopeVisNGAddTrigger |
class | MsgScopeVisNGChangeTrace |
class | MsgScopeVisNGChangeTrigger |
class | MsgScopeVisNGFocusOnTrace |
class | MsgScopeVisNGFocusOnTrigger |
class | MsgScopeVisNGMemoryTrace |
class | MsgScopeVisNGMoveTrace |
class | MsgScopeVisNGMoveTrigger |
class | MsgScopeVisNGOneShot |
class | MsgScopeVisNGRemoveTrace |
class | MsgScopeVisNGRemoveTrigger |
struct | TraceBackBuffer |
struct | TraceBackDiscreteMemory |
struct | TraceControl |
struct | TraceData |
struct | Traces |
class | TriggerComparator |
struct | TriggerCondition |
struct | TriggerData |
Public Member Functions | |
ScopeVis (GLScope *glScope=0) | |
virtual | ~ScopeVis () |
void | setLiveRate (int sampleRate) |
void | setLiveRateLog2Decim (int log2Decim) |
void | configure (uint32_t traceSize, uint32_t timeBase, uint32_t timeOfsProMill, uint32_t triggerPre, bool freeRun) |
void | addTrace (const TraceData &traceData) |
void | changeTrace (const TraceData &traceData, uint32_t traceIndex) |
void | removeTrace (uint32_t traceIndex) |
void | moveTrace (uint32_t traceIndex, bool upElseDown) |
void | focusOnTrace (uint32_t traceIndex) |
void | addTrigger (const TriggerData &triggerData) |
void | changeTrigger (const TriggerData &triggerData, uint32_t triggerIndex) |
void | removeTrigger (uint32_t triggerIndex) |
void | moveTrigger (uint32_t triggerIndex, bool upElseDown) |
void | focusOnTrigger (uint32_t triggerIndex) |
void | setOneShot (bool oneShot) |
void | setMemoryIndex (uint32_t memoryIndex) |
QByteArray | serializeMemory () const |
bool | deserializeMemory (const QByteArray &data) |
void | getTriggerData (TriggerData &triggerData, uint32_t triggerIndex) |
void | getTraceData (TraceData &traceData, uint32_t traceIndex) |
const TriggerData & | getTriggerData (uint32_t triggerIndex) const |
const std::vector< TraceData > & | getTracesData () const |
uint32_t | getNbTriggers () const |
virtual void | feed (const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool positiveOnly) |
virtual void | start () |
virtual void | stop () |
virtual bool | handleMessage (const Message &message) |
Processing of a message. Returns true if message has actually been processed. More... | |
int | getTriggerLocation () const |
Public Member Functions inherited from BasebandSampleSink | |
BasebandSampleSink () | |
virtual | ~BasebandSampleSink () |
MessageQueue * | getInputMessageQueue () |
Get the queue for asynchronous inbound communication. More... | |
virtual void | setMessageQueueToGUI (MessageQueue *queue) |
MessageQueue * | getMessageQueueToGUI () |
Static Public Attributes | |
static const uint32_t | m_traceChunkSize = 4800 |
static const uint32_t | m_maxNbTriggers = 10 |
static const uint32_t | m_maxNbTraces = 10 |
static const uint32_t | m_nbTraceMemories = 50 |
Private Types | |
enum | TriggerState { TriggerUntriggered, TriggerTriggered, TriggerDelay } |
typedef DoubleBufferSimple< Sample > | TraceBuffer |
Private Member Functions | |
bool | nextTrigger () |
Returns true if not final. More... | |
void | processTrace (const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, int &triggerPointToEnd) |
void | processMemoryTrace () |
int | processTraces (const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool traceBack=false) |
void | updateMaxTraceDelay () |
void | initTraceBuffers () |
void | computeDisplayTriggerLevels () |
void | updateGLScopeDisplay () |
void | setSampleRate (int sampleRate) |
void | setTraceSize (uint32_t traceSize, bool emitSignal=false) |
void | setPreTriggerDelay (uint32_t preTriggerDelay, bool emitSignal=false) |
Private Attributes | |
GLScope * | m_glScope |
uint32_t | m_preTriggerDelay |
Pre-trigger delay in number of samples. More... | |
uint32_t | m_livePreTriggerDelay |
Pre-trigger delay in number of samples in live mode. More... | |
std::vector< TriggerCondition * > | m_triggerConditions |
Chain of triggers. More... | |
uint32_t | m_currentTriggerIndex |
Index of current index in the chain. More... | |
uint32_t | m_focusedTriggerIndex |
Index of the trigger that has focus. More... | |
TriggerState | m_triggerState |
Current trigger state. More... | |
Traces | m_traces |
Displayable traces. More... | |
int | m_focusedTraceIndex |
Index of the trace that has focus. More... | |
uint32_t | m_traceSize |
Size of traces in number of samples. More... | |
uint32_t | m_liveTraceSize |
Size of traces in number of samples in live mode. More... | |
int | m_nbSamples |
Number of samples yet to process in one complex trace. More... | |
uint32_t | m_timeBase |
Trace display time divisor. More... | |
uint32_t | m_timeOfsProMill |
Start trace shift in 1/1000 trace size. More... | |
bool | m_traceStart |
Trace is at start point. More... | |
int | m_triggerLocation |
Trigger location from end point. More... | |
int | m_sampleRate |
Actual sample rate being used. More... | |
int | m_liveSampleRate |
Sample rate in live mode. More... | |
int | m_liveLog2Decim |
Sample rate decimation log2 in live mode. More... | |
TraceBackDiscreteMemory | m_traceDiscreteMemory |
Complex trace memory for triggered states TODO: vectorize when more than on input is allowed. More... | |
bool | m_freeRun |
True if free running (trigger globally disabled) More... | |
int | m_maxTraceDelay |
Maximum trace delay. More... | |
TriggerComparator | m_triggerComparator |
Compares sample level to trigger level. More... | |
QMutex | m_mutex |
Real | m_projectorCache [(int) Projector::nbProjectionTypes] |
bool | m_triggerOneShot |
True when one shot mode is active. More... | |
bool | m_triggerWaitForReset |
In one shot mode suspended until reset by UI. More... | |
uint32_t | m_currentTraceMemoryIndex |
The current index of trace in memory (0: current) More... | |
Additional Inherited Members | |
Protected Slots inherited from BasebandSampleSink | |
void | handleInputMessages () |
Protected Attributes inherited from BasebandSampleSink | |
MessageQueue | m_inputMessageQueue |
Queue for asynchronous inbound communication. More... | |
MessageQueue * | m_guiMessageQueue |
Input message queue to the GUI. More... | |
Definition at line 45 of file scopevis.h.
|
private |
Complex trace stuff
Definition at line 631 of file scopevis.h.
|
private |
Trigger stuff
Definition at line 563 of file scopevis.h.
ScopeVis::ScopeVis | ( | GLScope * | glScope = 0 | ) |
Definition at line 43 of file scopevis.cpp.
References i, m_glScope, m_projectorCache, m_traceChunkSize, m_traceDiscreteMemory, ScopeVis::Traces::m_traces, m_traces, ScopeVis::Traces::m_tracesData, Projector::nbProjectionTypes, ScopeVis::TraceBackDiscreteMemory::resize(), and GLScope::setTraces().
|
virtual |
Definition at line 76 of file scopevis.cpp.
References m_triggerConditions.
void ScopeVis::addTrace | ( | const TraceData & | traceData | ) |
Definition at line 135 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGAddTrace::create(), BasebandSampleSink::getInputMessageQueue(), ScopeVis::TraceData::m_amp, ScopeVis::TraceData::m_ofs, ScopeVis::TraceData::m_traceDelay, and MessageQueue::push().
Referenced by GLScopeGUI::addTrace(), GLScopeGUI::deserialize(), and GLScopeGUI::setBuddies().
void ScopeVis::addTrigger | ( | const TriggerData & | triggerData | ) |
Definition at line 179 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGAddTrigger::create(), BasebandSampleSink::getInputMessageQueue(), and MessageQueue::push().
Referenced by GLScopeGUI::addTrigger(), GLScopeGUI::deserialize(), and GLScopeGUI::setBuddies().
Definition at line 145 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGChangeTrace::create(), BasebandSampleSink::getInputMessageQueue(), ScopeVis::TraceData::m_amp, ScopeVis::TraceData::m_ofs, ScopeVis::TraceData::m_traceDelay, and MessageQueue::push().
Referenced by GLScopeGUI::changeCurrentTrace(), GLScopeGUI::changeTrace(), and GLScopeGUI::deserialize().
void ScopeVis::changeTrigger | ( | const TriggerData & | triggerData, |
uint32_t | triggerIndex | ||
) |
Definition at line 185 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGChangeTrigger::create(), BasebandSampleSink::getInputMessageQueue(), and MessageQueue::push().
Referenced by GLScopeGUI::changeCurrentTrigger(), GLScopeGUI::changeTrigger(), and GLScopeGUI::deserialize().
|
private |
Calculate trigger levels on display
Definition at line 978 of file scopevis.cpp.
References m_focusedTriggerIndex, m_traces, ScopeVis::Traces::m_tracesData, m_triggerConditions, Projector::ProjectionMagDB, Projector::ProjectionMagLin, and Projector::ProjectionMagSq.
Referenced by handleMessage().
void ScopeVis::configure | ( | uint32_t | traceSize, |
uint32_t | timeBase, | ||
uint32_t | timeOfsProMill, | ||
uint32_t | triggerPre, | ||
bool | freeRun | ||
) |
Definition at line 129 of file scopevis.cpp.
References ScopeVis::MsgConfigureScopeVisNG::create(), BasebandSampleSink::getInputMessageQueue(), and MessageQueue::push().
Referenced by GLScopeGUI::on_freerun_toggled(), GLScopeGUI::on_time_valueChanged(), GLScopeGUI::on_timeOfs_valueChanged(), GLScopeGUI::on_traceLen_valueChanged(), GLScopeGUI::on_trigPre_valueChanged(), and GLScopeGUI::setBuddies().
|
inline |
Definition at line 187 of file scopevis.h.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), SimpleDeserializer::readBlob(), SimpleDeserializer::readS32(), and SimpleDeserializer::readU32().
Referenced by GLScopeGUI::on_memoryLoad_clicked().
|
virtual |
Implements BasebandSampleSink.
Definition at line 221 of file scopevis.cpp.
References m_currentTraceMemoryIndex, m_freeRun, m_mutex, m_traceSize, m_triggerLocation, m_triggerState, m_triggerWaitForReset, processTrace(), TriggerTriggered, and TriggerUntriggered.
Referenced by SpectrumScopeComboVis::feed().
void ScopeVis::focusOnTrace | ( | uint32_t | traceIndex | ) |
Definition at line 173 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGFocusOnTrace::create(), BasebandSampleSink::getInputMessageQueue(), and MessageQueue::push().
Referenced by GLScopeGUI::on_trace_valueChanged(), GLScopeGUI::on_traceDown_clicked(), and GLScopeGUI::on_traceUp_clicked().
void ScopeVis::focusOnTrigger | ( | uint32_t | triggerIndex | ) |
Definition at line 203 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGFocusOnTrigger::create(), BasebandSampleSink::getInputMessageQueue(), and MessageQueue::push().
Referenced by GLScopeGUI::on_trig_valueChanged(), GLScopeGUI::on_trigDown_clicked(), and GLScopeGUI::on_trigUp_clicked().
|
inline |
Definition at line 241 of file scopevis.h.
Referenced by GLScopeGUI::deserialize(), and GLScopeGUI::serialize().
Definition at line 231 of file scopevis.h.
Referenced by GLScopeGUI::on_trace_valueChanged(), GLScopeGUI::on_traceDown_clicked(), and GLScopeGUI::on_traceUp_clicked().
|
inline |
Definition at line 240 of file scopevis.h.
Referenced by GLScopeGUI::deserialize(), and GLScopeGUI::serialize().
|
inline |
Definition at line 223 of file scopevis.h.
Referenced by GLScopeGUI::on_trig_valueChanged(), GLScopeGUI::on_trigDown_clicked(), GLScopeGUI::on_trigUp_clicked(), and GLScopeGUI::serialize().
|
inline |
Definition at line 239 of file scopevis.h.
|
inline |
Definition at line 247 of file scopevis.h.
Referenced by SpectrumScopeComboVis::feed().
|
virtual |
Processing of a message. Returns true if message has actually been processed.
Implements BasebandSampleSink.
Definition at line 650 of file scopevis.cpp.
References ScopeVis::Traces::addTrace(), ScopeVis::Traces::changeTrace(), computeDisplayTriggerLevels(), ScopeVis::MsgConfigureScopeVisNG::getFreeRun(), Message::getIdentifier(), ScopeVis::MsgScopeVisNGMemoryTrace::getMemoryIndex(), ScopeVis::MsgScopeVisNGMoveTrigger::getMoveUp(), ScopeVis::MsgScopeVisNGMoveTrace::getMoveUp(), ScopeVis::MsgScopeVisNGOneShot::getOneShot(), DSPSignalNotification::getSampleRate(), ScopeVis::MsgConfigureScopeVisNG::getTimeBase(), ScopeVis::MsgConfigureScopeVisNG::getTimeOfsProMill(), ScopeVis::MsgScopeVisNGAddTrace::getTraceData(), ScopeVis::MsgScopeVisNGChangeTrace::getTraceData(), ScopeVis::MsgScopeVisNGChangeTrace::getTraceIndex(), ScopeVis::MsgScopeVisNGRemoveTrace::getTraceIndex(), ScopeVis::MsgScopeVisNGMoveTrace::getTraceIndex(), ScopeVis::MsgScopeVisNGFocusOnTrace::getTraceIndex(), ScopeVis::MsgConfigureScopeVisNG::getTraceSize(), ScopeVis::MsgScopeVisNGAddTrigger::getTriggerData(), ScopeVis::MsgScopeVisNGChangeTrigger::getTriggerData(), ScopeVis::MsgScopeVisNGChangeTrigger::getTriggerIndex(), ScopeVis::MsgScopeVisNGRemoveTrigger::getTriggerIndex(), ScopeVis::MsgScopeVisNGMoveTrigger::getTriggerIndex(), ScopeVis::MsgScopeVisNGFocusOnTrigger::getTriggerIndex(), ScopeVis::MsgConfigureScopeVisNG::getTriggerPre(), initTraceBuffers(), ScopeVis::Traces::isVerticalDisplayChange(), m_currentTraceMemoryIndex, m_focusedTraceIndex, m_focusedTriggerIndex, m_freeRun, m_glScope, m_livePreTriggerDelay, m_liveSampleRate, m_liveTraceSize, m_mutex, m_preTriggerDelay, m_sampleRate, m_timeBase, m_timeOfsProMill, m_traces, ScopeVis::Traces::m_tracesData, m_traceSize, m_triggerConditions, m_triggerOneShot, m_triggerWaitForReset, Message::match(), ScopeVis::Traces::moveTrace(), nextTrigger(), processMemoryTrace(), ScopeVis::Traces::removeTrace(), GLScope::setFocusedTraceIndex(), GLScope::setFocusedTriggerData(), setLiveRate(), setPreTriggerDelay(), GLScope::setTimeBase(), GLScope::setTimeOfsProMill(), setTraceSize(), updateGLScopeDisplay(), and updateMaxTraceDelay().
Referenced by SpectrumScopeComboVis::handleMessage().
|
private |
Initialize trace buffers
Definition at line 959 of file scopevis.cpp.
References i, m_timeOfsProMill, ScopeVis::Traces::m_traces, m_traces, and m_traceSize.
Referenced by handleMessage(), processTrace(), and setTraceSize().
void ScopeVis::moveTrace | ( | uint32_t | traceIndex, |
bool | upElseDown | ||
) |
Definition at line 164 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGMoveTrace::create(), BasebandSampleSink::getInputMessageQueue(), and MessageQueue::push().
Referenced by GLScopeGUI::on_traceDown_clicked(), and GLScopeGUI::on_traceUp_clicked().
void ScopeVis::moveTrigger | ( | uint32_t | triggerIndex, |
bool | upElseDown | ||
) |
Definition at line 197 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGMoveTrigger::create(), BasebandSampleSink::getInputMessageQueue(), and MessageQueue::push().
Referenced by GLScopeGUI::on_trigDown_clicked(), and GLScopeGUI::on_trigUp_clicked().
|
private |
Returns true if not final.
Moves on to the next trigger if any or increments trigger count if in repeat mode
Definition at line 455 of file scopevis.cpp.
References m_currentTriggerIndex, m_triggerConditions, ScopeVis::TriggerCondition::m_triggerCounter, ScopeVis::TriggerCondition::m_triggerData, and ScopeVis::TriggerData::m_triggerRepeat.
Referenced by handleMessage(), and processTrace().
|
private |
process a trace in memory at current trace index in memory
Definition at line 279 of file scopevis.cpp.
References ScopeVis::TraceBackDiscreteMemory::at(), ScopeVis::TraceBackDiscreteMemory::currentIndex(), m_currentTraceMemoryIndex, ScopeVis::TraceBackBuffer::m_endPoint, m_maxTraceDelay, m_nbSamples, m_nbTraceMemories, m_traceDiscreteMemory, m_traceSize, and processTraces().
Referenced by handleMessage(), and updateGLScopeDisplay().
|
private |
Process a sample trace which length is at most the trace length (m_traceSize)
Definition at line 299 of file scopevis.cpp.
References ScopeVis::TraceBackBuffer::current(), ScopeVis::TraceBackDiscreteMemory::current(), initTraceBuffers(), m_currentTriggerIndex, ScopeVis::TraceBackBuffer::m_endPoint, m_freeRun, m_maxTraceDelay, m_nbSamples, m_preTriggerDelay, m_sampleRate, m_traceDiscreteMemory, m_traceSize, m_traceStart, m_triggerComparator, m_triggerConditions, ScopeVis::TriggerCondition::m_triggerData, ScopeVis::TriggerData::m_triggerDelay, ScopeVis::TriggerCondition::m_triggerDelayCount, m_triggerOneShot, m_triggerState, m_triggerWaitForReset, nextTrigger(), processTraces(), ScopeVis::TriggerComparator::reset(), ScopeVis::TraceBackDiscreteMemory::store(), TriggerDelay, ScopeVis::TriggerComparator::triggered(), TriggerTriggered, TriggerUntriggered, and ScopeVis::TraceBackBuffer::write().
Referenced by feed().
|
private |
Process traces from complex trace memory buffer.
Definition at line 490 of file scopevis.cpp.
References ScopeVis::Traces::currentBufferIndex(), GLScope::getProcessingTraceIndex(), m_glScope, m_nbSamples, m_sampleRate, m_timeBase, m_timeOfsProMill, ScopeVis::Traces::m_traces, m_traces, ScopeVis::Traces::m_tracesControl, ScopeVis::Traces::m_tracesData, m_traceSize, GLScope::newTraces(), Projector::ProjectionMagDB, Projector::ProjectionMagLin, Projector::ProjectionMagSq, SDR_RX_SCALEF, and ScopeVis::Traces::switchBuffer().
Referenced by processMemoryTrace(), and processTrace().
void ScopeVis::removeTrace | ( | uint32_t | traceIndex | ) |
Definition at line 156 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGRemoveTrace::create(), BasebandSampleSink::getInputMessageQueue(), and MessageQueue::push().
Referenced by GLScopeGUI::deserialize(), and GLScopeGUI::on_traceDel_clicked().
void ScopeVis::removeTrigger | ( | uint32_t | triggerIndex | ) |
Definition at line 191 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGRemoveTrigger::create(), BasebandSampleSink::getInputMessageQueue(), and MessageQueue::push().
Referenced by GLScopeGUI::deserialize(), and GLScopeGUI::on_trigDel_clicked().
|
inline |
Definition at line 174 of file scopevis.h.
References SimpleSerializer::final(), SimpleSerializer::writeBlob(), SimpleSerializer::writeS32(), and SimpleSerializer::writeU32().
Referenced by GLScopeGUI::on_memorySave_clicked().
void ScopeVis::setLiveRate | ( | int | sampleRate | ) |
Definition at line 83 of file scopevis.cpp.
References m_currentTraceMemoryIndex, m_liveLog2Decim, m_liveSampleRate, and setSampleRate().
Referenced by ATVDemodGUI::handleMessage(), handleMessage(), setLiveRateLog2Decim(), and ChannelAnalyzerGUI::setNewFinalRate().
void ScopeVis::setLiveRateLog2Decim | ( | int | log2Decim | ) |
Definition at line 92 of file scopevis.cpp.
References m_liveLog2Decim, m_liveSampleRate, and setLiveRate().
Referenced by ChannelAnalyzerGUI::applySettings().
void ScopeVis::setMemoryIndex | ( | uint32_t | memoryIndex | ) |
Definition at line 215 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGMemoryTrace::create(), BasebandSampleSink::getInputMessageQueue(), and MessageQueue::push().
Referenced by GLScopeGUI::on_mem_valueChanged().
void ScopeVis::setOneShot | ( | bool | oneShot | ) |
Definition at line 209 of file scopevis.cpp.
References ScopeVis::MsgScopeVisNGOneShot::create(), BasebandSampleSink::getInputMessageQueue(), and MessageQueue::push().
Referenced by GLScopeGUI::on_trigOneShot_toggled().
|
private |
Set the pre trigger delay
Definition at line 120 of file scopevis.cpp.
References m_glScope, m_preTriggerDelay, and GLScope::setTriggerPre().
Referenced by handleMessage().
|
private |
Set the actual sample rate
Definition at line 98 of file scopevis.cpp.
References m_glScope, m_sampleRate, and GLScope::setSampleRate().
Referenced by setLiveRate().
|
private |
Set the traces size
Definition at line 108 of file scopevis.cpp.
References initTraceBuffers(), m_glScope, m_traceDiscreteMemory, m_traces, m_traceSize, ScopeVis::TraceBackDiscreteMemory::resize(), ScopeVis::Traces::resize(), and GLScope::setTraceSize().
Referenced by handleMessage().
|
virtual |
Implements BasebandSampleSink.
Definition at line 642 of file scopevis.cpp.
Referenced by SpectrumScopeComboVis::start().
|
virtual |
Implements BasebandSampleSink.
Definition at line 646 of file scopevis.cpp.
Referenced by SpectrumScopeComboVis::stop().
|
private |
Update glScope display
Definition at line 1020 of file scopevis.cpp.
References m_currentTraceMemoryIndex, m_glScope, processMemoryTrace(), GLScope::setConfigChanged(), and GLScope::updateDisplay().
Referenced by handleMessage().
|
private |
Get maximum trace delay
Definition at line 912 of file scopevis.cpp.
References m_maxTraceDelay, m_projectorCache, m_traces, ScopeVis::Traces::m_tracesControl, ScopeVis::Traces::m_tracesData, Projector::nbProjectionTypes, and Projector::ProjectionReal.
Referenced by handleMessage().
|
private |
The current index of trace in memory (0: current)
Definition at line 1148 of file scopevis.h.
Referenced by feed(), handleMessage(), processMemoryTrace(), setLiveRate(), and updateGLScopeDisplay().
|
private |
Index of current index in the chain.
Definition at line 1125 of file scopevis.h.
Referenced by nextTrigger(), and processTrace().
|
private |
Index of the trace that has focus.
Definition at line 1129 of file scopevis.h.
Referenced by handleMessage().
|
private |
Index of the trigger that has focus.
Definition at line 1126 of file scopevis.h.
Referenced by computeDisplayTriggerLevels(), and handleMessage().
|
private |
True if free running (trigger globally disabled)
Definition at line 1141 of file scopevis.h.
Referenced by feed(), handleMessage(), and processTrace().
|
private |
Definition at line 1121 of file scopevis.h.
Referenced by handleMessage(), processTraces(), ScopeVis(), setPreTriggerDelay(), setSampleRate(), setTraceSize(), and updateGLScopeDisplay().
|
private |
Sample rate decimation log2 in live mode.
Definition at line 1139 of file scopevis.h.
Referenced by setLiveRate(), and setLiveRateLog2Decim().
|
private |
Pre-trigger delay in number of samples in live mode.
Definition at line 1123 of file scopevis.h.
Referenced by handleMessage().
|
private |
Sample rate in live mode.
Definition at line 1138 of file scopevis.h.
Referenced by handleMessage(), setLiveRate(), and setLiveRateLog2Decim().
|
private |
Size of traces in number of samples in live mode.
Definition at line 1131 of file scopevis.h.
Referenced by handleMessage().
|
static |
Definition at line 152 of file scopevis.h.
|
static |
Definition at line 151 of file scopevis.h.
|
private |
Maximum trace delay.
Definition at line 1142 of file scopevis.h.
Referenced by processMemoryTrace(), processTrace(), and updateMaxTraceDelay().
|
private |
Definition at line 1144 of file scopevis.h.
Referenced by feed(), and handleMessage().
|
private |
Number of samples yet to process in one complex trace.
Definition at line 1132 of file scopevis.h.
Referenced by processMemoryTrace(), processTrace(), and processTraces().
|
static |
Definition at line 153 of file scopevis.h.
Referenced by GLScopeGUI::GLScopeGUI(), and processMemoryTrace().
|
private |
Pre-trigger delay in number of samples.
Definition at line 1122 of file scopevis.h.
Referenced by handleMessage(), processTrace(), and setPreTriggerDelay().
|
private |
Definition at line 1145 of file scopevis.h.
Referenced by ScopeVis(), and updateMaxTraceDelay().
|
private |
Actual sample rate being used.
Definition at line 1137 of file scopevis.h.
Referenced by handleMessage(), processTrace(), processTraces(), and setSampleRate().
|
private |
Trace display time divisor.
Definition at line 1133 of file scopevis.h.
Referenced by handleMessage(), and processTraces().
|
private |
Start trace shift in 1/1000 trace size.
Definition at line 1134 of file scopevis.h.
Referenced by handleMessage(), initTraceBuffers(), and processTraces().
|
static |
Definition at line 150 of file scopevis.h.
Referenced by GLScopeGUI::fillTriggerData(), GLScopeGUI::GLScopeGUI(), GLScopeGUI::on_freerun_toggled(), GLScopeGUI::on_scope_traceSizeChanged(), GLScopeGUI::on_time_valueChanged(), GLScopeGUI::on_timeOfs_valueChanged(), GLScopeGUI::on_traceLen_valueChanged(), GLScopeGUI::on_trigPre_valueChanged(), ScopeVis(), GLScopeGUI::setBuddies(), GLScopeGUI::setTraceLenDisplay(), and GLScopeGUI::setTrigDelayDisplay().
|
private |
Complex trace memory for triggered states TODO: vectorize when more than on input is allowed.
Definition at line 1140 of file scopevis.h.
Referenced by processMemoryTrace(), processTrace(), ScopeVis(), and setTraceSize().
|
private |
Displayable traces.
Definition at line 1128 of file scopevis.h.
Referenced by computeDisplayTriggerLevels(), handleMessage(), initTraceBuffers(), processTraces(), ScopeVis(), setTraceSize(), and updateMaxTraceDelay().
|
private |
Size of traces in number of samples.
Definition at line 1130 of file scopevis.h.
Referenced by feed(), handleMessage(), initTraceBuffers(), processMemoryTrace(), processTrace(), processTraces(), and setTraceSize().
|
private |
|
private |
Compares sample level to trigger level.
Definition at line 1143 of file scopevis.h.
Referenced by processTrace().
|
private |
Chain of triggers.
Definition at line 1124 of file scopevis.h.
Referenced by computeDisplayTriggerLevels(), handleMessage(), nextTrigger(), processTrace(), and ~ScopeVis().
|
private |
|
private |
True when one shot mode is active.
Definition at line 1146 of file scopevis.h.
Referenced by handleMessage(), and processTrace().
|
private |
Current trigger state.
Definition at line 1127 of file scopevis.h.
Referenced by feed(), and processTrace().
|
private |
In one shot mode suspended until reset by UI.
Definition at line 1147 of file scopevis.h.
Referenced by feed(), handleMessage(), and processTrace().