Ignore first point of next sweep when in single sweep mode, fix parsing of VFF MCU temperature in VNA log

This commit is contained in:
Jan Käberich 2023-04-03 13:05:52 +02:00
parent b729600cd8
commit 5f022c42b6
3 changed files with 3 additions and 1 deletions

View File

@ -203,7 +203,7 @@ void DevicePacketLogView::addEntry(const DevicePacketLog::LogEntry &e)
addBool(VFF, "LO locked", sFF.LO_locked);
addBool(VFF, "ADC overload", sFF.ADC_overload);
addBool(VFF, "Unlevel", sFF.unlevel);
addInteger(VFF, "MCU temperature", s.temp_MCU);
addInteger(VFF, "MCU temperature", sFF.temp_MCU);
}
break;
case Protocol::PacketType::DeviceInfo: {

View File

@ -493,6 +493,7 @@ void SpectrumAnalyzer::NewDatapoint(DeviceDriver::SAMeasurement m)
if(singleSweep && average.getLevel() == averages) {
Stop();
return;
}
auto m_avg = average.process(m);

View File

@ -855,6 +855,7 @@ void VNA::NewDatapoint(DeviceDriver::VNAMeasurement m)
if(singleSweep && average.getLevel() == averages) {
Stop();
return;
}
auto m_avg = m;