summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-13 18:03:25 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-13 18:03:25 -0500
commit35e842f0c565a8d644565febdf5e08e6e841f59a (patch)
treee0683f63530032ac08c65f1b7a27300584636727
parent11d6b6dded9a6820438ef5b018d76e7ae88349b2 (diff)
downloadulab-35e842f0c565a8d644565febdf5e08e6e841f59a.tar.gz
ulab-35e842f0c565a8d644565febdf5e08e6e841f59a.zip
Update slightly faster
-rw-r--r--clients/tde/src/part/commanalyzer/part.cpp14
1 files changed, 14 insertions, 0 deletions
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