diff --git a/servers/gpib_server_lin/src/gpib_conn.cpp b/servers/gpib_server_lin/src/gpib_conn.cpp index cf19cee..a17ee1f 100644 --- a/servers/gpib_server_lin/src/gpib_conn.cpp +++ b/servers/gpib_server_lin/src/gpib_conn.cpp @@ -267,6 +267,27 @@ void GPIBSocket::commandLoop() { writeEndOfFrame(); } } + else if ((m_instrumentCommand == "GETCHANNELTRACE")) { // Want channel trace + TQ_INT32 value; + ds >> value; + TQ_INT32 traceLength; + traceLength = scope_get_channel_trace(value, m_serverParent->m_scopeType.ascii(), m_serverParent->m_scopeDeviceSocket); + if (traceLength > 0) { + int i; + TQFloatArray traceData; + traceData.resize(traceLength); + for (i=0; i> value1; @@ -461,7 +482,6 @@ void GPIBSocket::commandLoop() { } } else if ((m_instrumentCommand == "GETSPECTRUMTRACE")) { // Want SA trace - ds << TQString("ACK"); if (commanalyzer_get_spectrum_analyzer_trace(m_serverParent->m_commanalyzerType.ascii(), m_serverParent->m_commanalyzerDeviceSocket) == 0) { int i; int tracelen = commanalyzerTraceLength(m_serverParent->m_commanalyzerType.ascii()); @@ -470,6 +490,7 @@ void GPIBSocket::commandLoop() { for (i=0; i