Additional debug output for point numbers

This commit is contained in:
Jan Käberich 2021-11-13 19:26:27 +01:00
parent 71b095cf2e
commit f688aaa220
2 changed files with 15 additions and 0 deletions

View file

@ -760,6 +760,11 @@ using namespace std;
void VNA::NewDatapoint(Protocol::Datapoint d)
{
if(d.pointNum >= settings.npoints) {
qWarning() << "Ignoring point with too large point number (" << d.pointNum << ")";
return;
}
d = average.process(d);
if(calMeasuring) {
if(average.currentSweep() == averages) {