* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <config.h>
#include "protocol_wrappers.h"
#define MAX_COMMAND_SIZE 64
}
g_free(resp);
+
return result;
}
int result;
g_snprintf(cmd, sizeof(cmd), ":WAVEFORM:TRACE %d", channel);
- result = sr_scpi_send(scpi, cmd);
+ result = sr_scpi_send(scpi, cmd);
result &= sr_scpi_get_float(scpi, ":WAVEFORM:RANGE?", response);
return result;
}
int result;
g_snprintf(cmd, sizeof(cmd), ":WAVEFORM:TRACE %d", channel);
- result = sr_scpi_send(scpi, cmd);
+ result = sr_scpi_send(scpi, cmd);
result &= sr_scpi_get_float(scpi, ":WAVEFORM:OFFSET?", response);
return result;
}
{
int result, acq_len;
- /* Data retrieval queries such as :WAVEFORM:SEND? will only return
+ /*
+ * Data retrieval queries such as :WAVEFORM:SEND? will only return
* up to 12500 samples at a time. If the oscilloscope operates in a
* mode where more than 12500 samples fit on screen (i.e. in one
* acquisition), data needs to be retrieved multiple times.