Update slightly faster

master
Timothy Pearson 12 years ago
parent 11d6b6dded
commit 35e842f0c5

@ -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

Loading…
Cancel
Save