Reset refernence on *RST, fix VNA:ACQ:RUN? query

This commit is contained in:
Jan Käberich 2024-04-20 15:56:57 +02:00
parent c1d1bc7aed
commit 2963e8b3d5
5 changed files with 21 additions and 12 deletions

View file

@ -322,6 +322,8 @@ void AppWindow::SetInitialState()
modeHandler->createMode("Spectrum Analyzer", Mode::Type::SA);
modeHandler->setCurrentIndex(vnaIndex);
}
ResetReference();
}
bool AppWindow::ConnectToDevice(QString serial, DeviceDriver *driver)
@ -1043,6 +1045,12 @@ int AppWindow::UpdateDeviceList()
return available;
}
void AppWindow::ResetReference()
{
toolbars.reference.type->setCurrentIndex(0);
toolbars.reference.outFreq->setCurrentIndex(0);
}
//void AppWindow::StartManualControl()
//{
// if(!vdevice || vdevice->isCompoundDevice()) {