From 35e842f0c565a8d644565febdf5e08e6e841f59a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 13 Jul 2012 18:03:25 -0500 Subject: [PATCH] Update slightly faster --- clients/tde/src/part/commanalyzer/part.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/clients/tde/src/part/commanalyzer/part.cpp b/clients/tde/src/part/commanalyzer/part.cpp index 326e506..5080e47 100644 --- a/clients/tde/src/part/commanalyzer/part.cpp +++ b/clients/tde/src/part/commanalyzer/part.cpp @@ -572,6 +572,14 @@ void CommAnalyzerPart::mainEventLoop() { m_socket->clearFrameTail(); if (result == "ACK") { +#if 1 + // Trace grap is slow on most instruments + // Put in the next trace request before processing the trace we just got so as to increase the overall update rate + // Get trace, step 1 + ds << TQString("GETSPECTRUMTRACE"); + m_socket->writeEndOfFrame(); + +#endif // Update display widget(s) m_traceWidget->setSamples(0, trace); m_base->traceZoomWidget->setSamples(0, trace); @@ -580,10 +588,16 @@ void CommAnalyzerPart::mainEventLoop() { m_base->traceZoomWidget->repaint(true); } + if (result == "ACK") { +#if 0 //SET_NEXT_STATE(2) SET_NEXT_STATE(18) EXEC_NEXT_STATE_IMMEDIATELY +#else + SET_NEXT_STATE(19) + EXEC_NEXT_STATE_IMMEDIATELY +#endif } else { COMMUNICATIONS_FAILED