diff --git a/src/dataformatpanel.cpp b/src/dataformatpanel.cpp --- a/src/dataformatpanel.cpp +++ b/src/dataformatpanel.cpp @@ -182,7 +182,7 @@ void DataFormatPanel::enableDemo(bool en void DataFormatPanel::spsTimerTimeout() { unsigned currentSps = _samplesPerSecond; - _samplesPerSecond = sampleCount/SPS_UPDATE_TIMEOUT; + _samplesPerSecond = (sampleCount/_numOfChannels)/SPS_UPDATE_TIMEOUT; if (currentSps != _samplesPerSecond) { emit samplesPerSecondChanged(_samplesPerSecond); diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -199,7 +199,7 @@ MainWindow::MainWindow(QWidget *parent) // Init sps (sample per second) counter spsLabel.setText("0sps"); - spsLabel.setToolTip("samples per second (total of all channels)"); + spsLabel.setToolTip("samples per second (per channel)"); ui->statusBar->addPermanentWidget(&spsLabel); QObject::connect(&dataFormatPanel, &DataFormatPanel::samplesPerSecondChanged,